diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2009-11-18 09:26:24 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2009-11-18 09:26:24 -0500 |
commit | 192927225c447a8eaba613838aff93f82dee41d0 (patch) | |
tree | 49b5a5b31d50c50014f1ec5dce0a690568c38818 /fc-glyphname | |
parent | 3e5e83e12e051d6ac734f08609c6c584b0f0b807 (diff) |
[fc-glyphname] Rename internal arrays to prefix with _fc_
Although they were static, I was still surprised that gdb was seeing
our variable "glyphs". Not helpful.
Diffstat (limited to 'fc-glyphname')
-rw-r--r-- | fc-glyphname/fc-glyphname.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fc-glyphname/fc-glyphname.c b/fc-glyphname/fc-glyphname.c index 5788460..5e1e881 100644 --- a/fc-glyphname/fc-glyphname.c +++ b/fc-glyphname/fc-glyphname.c @@ -297,7 +297,7 @@ main (int argc, char **argv) * Dump out entries */ - printf ("static const struct { const FcChar32 ucs; const FcChar8 name[%d]; } glyphs[%d] = {\n", + printf ("static const struct { const FcChar32 ucs; const FcChar8 name[%d]; } _fc_glyph_names[%d] = {\n", max_name_len + 1, nraw); for (i = 0; i < nraw; i++) @@ -310,12 +310,12 @@ main (int argc, char **argv) * Dump out name_to_ucs table */ - dump (name_to_ucs, "name_to_ucs"); + dump (name_to_ucs, "_fc_name_to_ucs"); /* * Dump out ucs_to_name table */ - dump (ucs_to_name, "ucs_to_name"); + dump (ucs_to_name, "_fc_ucs_to_name"); while (fgets (line, sizeof (line), stdin)) fputs (line, stdout); |