summaryrefslogtreecommitdiff
path: root/mkfontscale.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-16 20:17:08 -0200
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2009-01-16 20:17:08 -0200
commit2ff1863a387a393e237e9f05525a48806e900368 (patch)
tree4d59a9a5f0d1f4e0b35ee0f562adb94ee2f3ff91 /mkfontscale.c
parenta34031ea9074a453aee217b5845d07333019f26c (diff)
Silence sparse warnings and update .gitignore.
Diffstat (limited to 'mkfontscale.c')
-rw-r--r--mkfontscale.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mkfontscale.c b/mkfontscale.c
index 3497d95..51dd47d 100644
--- a/mkfontscale.c
+++ b/mkfontscale.c
@@ -63,7 +63,7 @@
#define MAXFONTNAMELEN 1024
#endif
-char *encodings_array[] =
+static char *encodings_array[] =
{ "ascii-0",
"iso8859-1", "iso8859-2", "iso8859-3", "iso8859-4", "iso8859-5",
"iso8859-6", "iso8859-6.8", "iso8859-6.8x", "iso8859-6.16",
@@ -82,11 +82,11 @@ char *encodings_array[] =
"gb2312.1980-0", "gb18030.2000-0", "gb18030.2000-1",
"ksc5601.1987-0", "ksc5601.1992-3"};
-char *extra_encodings_array[] =
+static char *extra_encodings_array[] =
{ "iso10646-1", "adobe-fontspecific", "microsoft-symbol" };
-ListPtr encodings, extra_encodings;
-char *outfilename;
+static ListPtr encodings, extra_encodings;
+static char *outfilename;
#define countof(_a) (sizeof(_a)/sizeof((_a)[0]))