]> git.wh0rd.org - fontconfig.git/blobdiff - fc-case/fc-case.c
Add architecture to cache filename.
[fontconfig.git] / fc-case / fc-case.c
index f7f8277e9340b1670799c7a3ef0d5aac1cf7aab9..bd28517f49233610f6e73e879300d5bcd603fb45 100644 (file)
 #define MAX_OUT            32
 #define MAX_LINE    8192
 
+/* stub definitions for declarations from fcint.h.. */
+int * _fcBankId = 0, * _fcBankIdx = 0;
+FcValueList ** _fcValueLists = 0;
+FcPatternElt ** _fcPatternElts = 0;
+int FcDebugVal = 0;
+
+int
+FcCacheBankToIndexMTF (int bank)
+{
+    return 0;
+}
+/* end stub definitions */
+
 typedef enum _caseFoldClass { CaseFoldCommon, CaseFoldFull, CaseFoldSimple, CaseFoldTurkic } CaseFoldClass;
 
 typedef struct _caseFoldClassMap {
@@ -102,10 +115,10 @@ utf8_size (FcChar32 ucs4)
 }
 
 static FcChar8 *foldChars;
-int            nfoldChars;
-int            maxFoldChars;
-FcChar32       minFoldChar;
-FcChar32       maxFoldChar;
+static int     nfoldChars;
+static int     maxFoldChars;
+static FcChar32        minFoldChar;
+static FcChar32        maxFoldChar;
 
 static void
 addChar (FcChar32 c)