summaryrefslogtreecommitdiff
path: root/fc-glyphname/fc-glyphname.c
diff options
context:
space:
mode:
authorPatrick Lam <plam@MIT.EDU>2006-04-06 04:33:11 +0000
committerPatrick Lam <plam@MIT.EDU>2006-04-06 04:33:11 +0000
commit0d745819a9ec491349d4e122a7d44d689b2d3479 (patch)
treed75c1143b73a307fb10d10e2c87e7e5e6c21b1a5 /fc-glyphname/fc-glyphname.c
parentb17cf498be69f483e6355ae468f7239165df3ffb (diff)
Fix intel compiler warnings: make many variables static, eliminate
duplicate names, reduce variable scopes, unsigned/signed printf formatting. reviewed by: plam
Diffstat (limited to 'fc-glyphname/fc-glyphname.c')
-rw-r--r--fc-glyphname/fc-glyphname.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/fc-glyphname/fc-glyphname.c b/fc-glyphname/fc-glyphname.c
index 31dff12e..4d250e00 100644
--- a/fc-glyphname/fc-glyphname.c
+++ b/fc-glyphname/fc-glyphname.c
@@ -83,12 +83,12 @@ fatal (const char *file, int lineno, const char *msg)
#define MAX_GLYPHNAME 10240
#define MAX_NAMELEN 1024
-FcGlyphName *raw[MAX_GLYPHNAME];
-int nraw;
-int max_name_len;
-FcGlyphName *name_to_ucs[MAX_GLYPHNAME*2];
-FcGlyphName *ucs_to_name[MAX_GLYPHNAME*2];
-int hash, rehash;
+static FcGlyphName *raw[MAX_GLYPHNAME];
+static int nraw;
+static int max_name_len;
+static FcGlyphName *name_to_ucs[MAX_GLYPHNAME*2];
+static FcGlyphName *ucs_to_name[MAX_GLYPHNAME*2];
+static unsigned int hash, rehash;
static int
rawindex (const FcGlyphName *gn)