]> git.wh0rd.org - fontconfig.git/blobdiff - src/fcmatch.c
Mark matchers array const (#21935)
[fontconfig.git] / src / fcmatch.c
index 01420a630a906e5dc46239463d480b1e06b9d66e..0abd42ac4f3cb86e069feb88b20b4d7a84829deb 100644 (file)
@@ -184,7 +184,7 @@ typedef struct _FcMatcher {
  * each value, earlier values are more significant than
  * later values
  */
-static FcMatcher _FcMatchers [] = {
+static const FcMatcher _FcMatchers [] = {
     { FC_FOUNDRY_OBJECT,       FcCompareString,        0, 0 },
 #define MATCH_FOUNDRY      0
 #define MATCH_FOUNDRY_INDEX 0