summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore4
-rw-r--r--data.h4
-rw-r--r--mkfontscale.c8
3 files changed, 10 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 87eb53d..9dcc376 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,3 +18,7 @@ mkfontscale
mkfontscale.1
stamp-h1
*~
+*.o
+mkfontscale-*.tar.*
+ChangeLog
+tags
diff --git a/data.h b/data.h
index 326cf85..5a31bad 100644
--- a/data.h
+++ b/data.h
@@ -27,7 +27,7 @@
/* Order is significant. For example, some B&H fonts are hinted by
URW++, and both strings appear in the notice. */
-char *notice_foundries[][2] =
+static char *notice_foundries[][2] =
{{"Bigelow", "b&h"},
{"Adobe", "adobe"},
{"Bitstream", "bitstream"},
@@ -50,7 +50,7 @@ char *notice_foundries[][2] =
/* It should not contain useless entries (such as UNKN) nor duplicate
entries for padding both with spaces and NULs. */
-char *vendor_foundries[][2] =
+static char *vendor_foundries[][2] =
{{"ADBE", "adobe"},
{"AGFA", "agfa"},
{"ALTS", "altsys"},
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]))