From: Behdad Esfahbod Date: Tue, 26 May 2009 00:26:56 +0000 (-0400) Subject: Mark matchers array const (#21935) X-Git-Tag: 2.7.0~14 X-Git-Url: https://git.wh0rd.org/?p=fontconfig.git;a=commitdiff_plain;h=76845a40c58b092a9b1812830dc98b6f32e13da6 Mark matchers array const (#21935) --- diff --git a/src/fcmatch.c b/src/fcmatch.c index 01420a6..0abd42a 100644 --- a/src/fcmatch.c +++ b/src/fcmatch.c @@ -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