summaryrefslogtreecommitdiff
path: root/src/builtins/fpe.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@benzedrine.nwnk.net>2007-06-07 14:20:27 -0400
committerAdam Jackson <ajax@benzedrine.nwnk.net>2007-06-07 14:20:27 -0400
commit9739e750a7ca4b86ddb89674b104e9b9a8b61014 (patch)
treee068b1a4bbf8abc57ceb87a6a243ac9977187cbc /src/builtins/fpe.c
parent87db45f5eb7880395735f7bf3a8ee2d89b7e0122 (diff)
Warning cleanup.
Diffstat (limited to 'src/builtins/fpe.c')
-rw-r--r--src/builtins/fpe.c21
1 files changed, 9 insertions, 12 deletions
diff --git a/src/builtins/fpe.c b/src/builtins/fpe.c
index f4ee93a..8432382 100644
--- a/src/builtins/fpe.c
+++ b/src/builtins/fpe.c
@@ -29,21 +29,20 @@
#include <config.h>
#endif
#include <X11/fonts/fntfilst.h>
+#include "builtin.h"
static int font_file_type;
const char builtin_fonts[] = "built-ins";
-int
-BuiltinNameCheck (name)
- char *name;
+static int
+BuiltinNameCheck (char *name)
{
return (strcmp (name, builtin_fonts) == 0);
}
-int
-BuiltinInitFPE (fpe)
- FontPathElementPtr fpe;
+static int
+BuiltinInitFPE (FontPathElementPtr fpe)
{
int status;
FontDirectoryPtr dir;
@@ -56,9 +55,8 @@ BuiltinInitFPE (fpe)
}
/* ARGSUSED */
-int
-BuiltinResetFPE (fpe)
- FontPathElementPtr fpe;
+static int
+BuiltinResetFPE (FontPathElementPtr fpe)
{
FontDirectoryPtr dir;
@@ -67,9 +65,8 @@ BuiltinResetFPE (fpe)
return Successful;
}
-int
-BuiltinFreeFPE (fpe)
- FontPathElementPtr fpe;
+static int
+BuiltinFreeFPE (FontPathElementPtr fpe)
{
FontFileFreeDir ((FontDirectoryPtr) fpe->private);
return Successful;