]> git.wh0rd.org - fontconfig.git/commitdiff
[xml] Mark more symbols static
authorBehdad Esfahbod <behdad@behdad.org>
Sat, 6 Jun 2009 01:37:01 +0000 (21:37 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 24 Jun 2009 17:52:13 +0000 (13:52 -0400)
src/fcint.h
src/fcxml.c

index 70836c0752fb6fc2b6f0594767dbdea2a289dd90..606097acb6b8fbf46b60c072e786687057aee303 100644 (file)
@@ -737,36 +737,6 @@ FcFontSetSerialize (FcSerialize *serialize, const FcFontSet * s);
 FcPrivate void
 FcTestDestroy (FcTest *test);
 
-FcPrivate FcExpr *
-FcExprCreateInteger (int i);
-
-FcPrivate FcExpr *
-FcExprCreateDouble (double d);
-
-FcPrivate FcExpr *
-FcExprCreateString (const FcChar8 *s);
-
-FcPrivate FcExpr *
-FcExprCreateMatrix (const FcMatrix *m);
-
-FcPrivate FcExpr *
-FcExprCreateBool (FcBool b);
-
-FcPrivate FcExpr *
-FcExprCreateNil (void);
-
-FcPrivate FcExpr *
-FcExprCreateField (const char *field);
-
-FcPrivate FcExpr *
-FcExprCreateConst (const FcChar8 *constant);
-
-FcPrivate FcExpr *
-FcExprCreateOp (FcExpr *left, FcOp op, FcExpr *right);
-
-FcPrivate void
-FcExprDestroy (FcExpr *e);
-
 FcPrivate void
 FcEditDestroy (FcEdit *e);
 
index 23591d25f20adf78f17eebba0971980a404e587b..32b8be12cf009b3f05a14f9556a01dcd1b065fec 100644 (file)
@@ -58,6 +58,8 @@
 #undef STRICT
 #endif
 
+static void
+FcExprDestroy (FcExpr *e);
 
 void
 FcTestDestroy (FcTest *test)
@@ -80,7 +82,7 @@ FcExprAlloc (void)
     return e;
 }
 
-FcExpr *
+static FcExpr *
 FcExprCreateInteger (int i)
 {
     FcExpr *e = FcExprAlloc ();
@@ -92,7 +94,7 @@ FcExprCreateInteger (int i)
     return e;
 }
 
-FcExpr *
+static FcExpr *
 FcExprCreateDouble (double d)
 {
     FcExpr *e = FcExprAlloc ();
@@ -104,7 +106,7 @@ FcExprCreateDouble (double d)
     return e;
 }
 
-FcExpr *
+static FcExpr *
 FcExprCreateString (const FcChar8 *s)
 {
     FcExpr *e = FcExprAlloc ();
@@ -116,7 +118,7 @@ FcExprCreateString (const FcChar8 *s)
     return e;
 }
 
-FcExpr *
+static FcExpr *
 FcExprCreateMatrix (const FcMatrix *m)
 {
     FcExpr *e = FcExprAlloc ();
@@ -128,7 +130,7 @@ FcExprCreateMatrix (const FcMatrix *m)
     return e;
 }
 
-FcExpr *
+static FcExpr *
 FcExprCreateBool (FcBool b)
 {
     FcExpr *e = FcExprAlloc ();
@@ -140,7 +142,7 @@ FcExprCreateBool (FcBool b)
     return e;
 }
 
-FcExpr *
+static FcExpr *
 FcExprCreateNil (void)
 {
     FcExpr *e = FcExprAlloc ();
@@ -152,7 +154,7 @@ FcExprCreateNil (void)
     return e;
 }
 
-FcExpr *
+static FcExpr *
 FcExprCreateField (const char *field)
 {
     FcExpr *e = FcExprAlloc ();
@@ -164,7 +166,7 @@ FcExprCreateField (const char *field)
     return e;
 }
 
-FcExpr *
+static FcExpr *
 FcExprCreateConst (const FcChar8 *constant)
 {
     FcExpr *e = FcExprAlloc ();
@@ -176,7 +178,7 @@ FcExprCreateConst (const FcChar8 *constant)
     return e;
 }
 
-FcExpr *
+static FcExpr *
 FcExprCreateOp (FcExpr *left, FcOp op, FcExpr *right)
 {
     FcExpr *e = FcExprAlloc ();
@@ -189,7 +191,7 @@ FcExprCreateOp (FcExpr *left, FcOp op, FcExpr *right)
     return e;
 }
 
-void
+static void
 FcExprDestroy (FcExpr *e)
 {
     if (!e)