libpkgconf: fragment: mark some inline match tables as const

feature/tap-sh
William Pitcock 2017-09-08 20:09:12 -05:00
parent b7839f6bb7
commit 906fef8449
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ struct pkgconf_fragment_check {
static inline bool static inline bool
pkgconf_fragment_is_unmergeable(const char *string) pkgconf_fragment_is_unmergeable(const char *string)
{ {
static struct pkgconf_fragment_check check_fragments[] = { static const struct pkgconf_fragment_check check_fragments[] = {
{"-framework", 10}, {"-framework", 10},
{"-isystem", 8}, {"-isystem", 8},
{"-idirafter", 10}, {"-idirafter", 10},
@ -70,7 +70,7 @@ pkgconf_fragment_is_unmergeable(const char *string)
static inline bool static inline bool
pkgconf_fragment_should_munge(const char *string, const char *sysroot_dir) 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}, {"-isystem", 8},
{"-idirafter", 10}, {"-idirafter", 10},
{"-include", 8}, {"-include", 8},