summaryrefslogtreecommitdiff
path: root/utils/hp2ps/HpFile.c
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2016-02-07 09:29:55 +0000
committerSergei Trofimovich <siarheit@google.com>2016-02-07 10:48:36 +0000
commit72545c75556c4404048036ce7e07a447fd199cd5 (patch)
tree60b7999130a1728855aea20a506c59382aad13f0 /utils/hp2ps/HpFile.c
parentf1f583799af4e1d14c9c1e95605b30ea5a71c76d (diff)
downloadhaskell-72545c75556c4404048036ce7e07a447fd199cd5.tar.gz
hp2ps: mark local functions as 'static'
Found by uselex.rb: fonttab: [R]: exported from: ./utils/hp2ps/dist/build/Dimensions.o GetString: [R]: exported from: ./utils/hp2ps/dist/build/HpFile.o thestring: [R]: exported from: ./utils/hp2ps/dist/build/HpFile.o auxfp: [R]: exported from: ./utils/hp2ps/dist/build/Main.o dflag: [R]: exported from: ./utils/hp2ps/dist/build/Main.o filter: [R]: exported from: ./utils/hp2ps/dist/build/Main.o iflag: [R]: exported from: ./utils/hp2ps/dist/build/Main.o mflag: [R]: exported from: ./utils/hp2ps/dist/build/Main.o pflag: [R]: exported from: ./utils/hp2ps/dist/build/Main.o psfile: [R]: exported from: ./utils/hp2ps/dist/build/Main.o tflag: [R]: exported from: ./utils/hp2ps/dist/build/Main.o OrderOf: [R]: exported from: ./utils/hp2ps/dist/build/Reorder.o Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Diffstat (limited to 'utils/hp2ps/HpFile.c')
-rw-r--r--utils/hp2ps/HpFile.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/hp2ps/HpFile.c b/utils/hp2ps/HpFile.c
index 12ef8d6ece..deef58201d 100644
--- a/utils/hp2ps/HpFile.c
+++ b/utils/hp2ps/HpFile.c
@@ -18,7 +18,7 @@ double atof PROTO((const char *));
#define N_SAMPLES 500 /* start size of the sample table */
char *theident;
-char *thestring;
+static char *thestring;
int theinteger;
floatish thefloatish;
int ch; /* last character read */
@@ -39,6 +39,8 @@ static void GetHpTok PROTO((FILE *, int)); /* forward */
static struct entry *GetEntry PROTO((char *)); /* forward */
+static void GetString PROTO((FILE *)); /* forward */
+
static void MakeIdentTable PROTO((void)); /* forward */
char *jobstring;