diff options
author | Sergei Trofimovich <siarheit@google.com> | 2016-02-07 09:29:55 +0000 |
---|---|---|
committer | Sergei Trofimovich <siarheit@google.com> | 2016-02-07 10:48:36 +0000 |
commit | 72545c75556c4404048036ce7e07a447fd199cd5 (patch) | |
tree | 60b7999130a1728855aea20a506c59382aad13f0 /utils/hp2ps/Main.c | |
parent | f1f583799af4e1d14c9c1e95605b30ea5a71c76d (diff) | |
download | haskell-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/Main.c')
-rw-r--r-- | utils/hp2ps/Main.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/utils/hp2ps/Main.c b/utils/hp2ps/Main.c index 88f9b08d46..7731d4c8f0 100644 --- a/utils/hp2ps/Main.c +++ b/utils/hp2ps/Main.c @@ -16,26 +16,26 @@ #include "Error.h" #include "Utilities.h" -boolish pflag = 0; /* read auxiliary file */ +static boolish pflag = 0; /* read auxiliary file */ boolish eflag = 0; /* scaled EPSF */ -boolish dflag = 0; /* sort by standard deviation */ -int iflag = 0; /* sort by identifier (3-way flag) */ +static boolish dflag = 0; /* sort by standard deviation */ +static int iflag = 0; /* sort by identifier (3-way flag) */ boolish gflag = 0; /* output suitable for previewer */ boolish yflag = 0; /* ignore marks */ boolish bflag = 0; /* use a big title box */ boolish sflag = 0; /* use a small title box */ -int mflag = 0; /* max no. of bands displayed (default 20) */ -boolish tflag = 0; /* ignored threshold specified */ +static int mflag = 0; /* max no. of bands displayed (default 20) */ +static boolish tflag = 0; /* ignored threshold specified */ boolish cflag = 0; /* colour output */ -boolish filter; /* true when running as a filter */ +static boolish filter; /* true when running as a filter */ boolish multipageflag = 0; /* true when the output should be 2 pages - key and profile */ static floatish WidthInPoints PROTO((char *)); /* forward */ static FILE *Fp PROTO((char *, char **, char *, char *)); /* forward */ char *hpfile; -char *psfile; +static char *psfile; char *auxfile; char *programname; @@ -45,7 +45,7 @@ static char *baseName; /* "basename" is a std C library name (sigh) */ FILE* hpfp; FILE* psfp; -FILE* auxfp; +static FILE* auxfp; floatish xrange = 0.0; floatish yrange = 0.0; |