summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-06-05 21:37:01 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-06-24 13:52:13 -0400
commit398d436441d741d6f8edcc25ca01aa9715c0731c (patch)
tree487e811cddf6c02ef07a9684436911a92f1b3033 /src
parenta96ecbfa20fbc66fad3847b1d2bc6fb3cd712c91 (diff)
[xml] Mark more symbols static
Diffstat (limited to 'src')
-rw-r--r--src/fcint.h30
-rw-r--r--src/fcxml.c22
2 files changed, 12 insertions, 40 deletions
diff --git a/src/fcint.h b/src/fcint.h
index 70836c07..606097ac 100644
--- a/src/fcint.h
+++ b/src/fcint.h
@@ -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);
diff --git a/src/fcxml.c b/src/fcxml.c
index 23591d25..32b8be12 100644
--- a/src/fcxml.c
+++ b/src/fcxml.c
@@ -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)