libpkgconf: fragment: mark some inline match tables as const
parent
b7839f6bb7
commit
906fef8449
|
@ -34,7 +34,7 @@ struct pkgconf_fragment_check {
|
|||
static inline bool
|
||||
pkgconf_fragment_is_unmergeable(const char *string)
|
||||
{
|
||||
static struct pkgconf_fragment_check check_fragments[] = {
|
||||
static const struct pkgconf_fragment_check check_fragments[] = {
|
||||
{"-framework", 10},
|
||||
{"-isystem", 8},
|
||||
{"-idirafter", 10},
|
||||
|
@ -70,7 +70,7 @@ pkgconf_fragment_is_unmergeable(const char *string)
|
|||
static inline bool
|
||||
pkgconf_fragment_should_munge(const char *string, const char *sysroot_dir)
|
||||
{
|
||||
static struct pkgconf_fragment_check check_fragments[] = {
|
||||
static const struct pkgconf_fragment_check check_fragments[] = {
|
||||
{"-isystem", 8},
|
||||
{"-idirafter", 10},
|
||||
{"-include", 8},
|
||||
|
|
Loading…
Reference in New Issue