]> git.wh0rd.org - fontconfig.git/commitdiff
Mark matchers array const (#21935)
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 26 May 2009 00:26:56 +0000 (20:26 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 24 Jun 2009 17:52:11 +0000 (13:52 -0400)
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