diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-19 10:18:28 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-19 10:18:28 +0000 |
commit | 3140bf500118573f645f3804cc743ce269945e5b (patch) | |
tree | 9a8a0056d07d98c92a5e5ac5629380d6619f5db7 /Build/source | |
parent | 54cec0cfbcec8404e4d88d707424cf823754d730 (diff) |
enable compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@13832 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source')
-rw-r--r-- | Build/source/texk/ttf2pk/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/ttf2pk/Makefile.am | 1 | ||||
-rw-r--r-- | Build/source/texk/ttf2pk/Makefile.in | 1 | ||||
-rw-r--r-- | Build/source/texk/ttf2pk/pklib.c | 2 | ||||
-rw-r--r-- | Build/source/texk/ttf2pk/tfmaux.c | 6 |
5 files changed, 12 insertions, 4 deletions
diff --git a/Build/source/texk/ttf2pk/ChangeLog b/Build/source/texk/ttf2pk/ChangeLog index bec59435f63..ec1215f4403 100644 --- a/Build/source/texk/ttf2pk/ChangeLog +++ b/Build/source/texk/ttf2pk/ChangeLog @@ -1,3 +1,9 @@ +2009-06-19 Peter Breitenlohner <peb@mppmu.mpg.de> + + * Makefile.am (AM_CFLAGS): enable compiler warnings. + * pklib.c (xgetc): declare as static. + * tfmaux.c (write16, writearr, writesarr): declare as static. + 2009-06-12 Francois Charette <firmicus@ankabut.net> * newobj.c, newobj.h, parse.c: rename getline to texlive_getline. diff --git a/Build/source/texk/ttf2pk/Makefile.am b/Build/source/texk/ttf2pk/Makefile.am index 77c0d300f22..3e503f13ad3 100644 --- a/Build/source/texk/ttf2pk/Makefile.am +++ b/Build/source/texk/ttf2pk/Makefile.am @@ -7,6 +7,7 @@ ACLOCAL_AMFLAGS = -I ../../m4 INCLUDES = -I$(top_srcdir)/include $(KPATHSEA_INCLUDES) $(FREETYPE_INCLUDES) AM_CPPFLAGS = -DHAVE_LIBKPATHSEA +AM_CFLAGS = $(WARNING_CFLAGS) bin_PROGRAMS = ttf2pk ttf2tfm diff --git a/Build/source/texk/ttf2pk/Makefile.in b/Build/source/texk/ttf2pk/Makefile.in index e99ab3e67dc..3cd08784c33 100644 --- a/Build/source/texk/ttf2pk/Makefile.in +++ b/Build/source/texk/ttf2pk/Makefile.in @@ -259,6 +259,7 @@ top_srcdir = @top_srcdir@ ACLOCAL_AMFLAGS = -I ../../m4 INCLUDES = -I$(top_srcdir)/include $(KPATHSEA_INCLUDES) $(FREETYPE_INCLUDES) AM_CPPFLAGS = -DHAVE_LIBKPATHSEA +AM_CFLAGS = $(WARNING_CFLAGS) ttf2pk_SOURCES = \ errormsg.c \ errormsg.h \ diff --git a/Build/source/texk/ttf2pk/pklib.c b/Build/source/texk/ttf2pk/pklib.c index 9886dea67e7..5b5b380c277 100644 --- a/Build/source/texk/ttf2pk/pklib.c +++ b/Build/source/texk/ttf2pk/pklib.c @@ -678,7 +678,7 @@ putlong(long w) } -char +static char xgetc(FILE *f) { int c; diff --git a/Build/source/texk/ttf2pk/tfmaux.c b/Build/source/texk/ttf2pk/tfmaux.c index dd01c02fcf5..21f4af56951 100644 --- a/Build/source/texk/ttf2pk/tfmaux.c +++ b/Build/source/texk/ttf2pk/tfmaux.c @@ -162,7 +162,7 @@ remap(long *what, } -void +static void write16(register short what, register FILE *out) { @@ -171,7 +171,7 @@ write16(register short what, } -void +static void writearr(register long *p, register int n, register FILE *out) @@ -186,7 +186,7 @@ writearr(register long *p, } -void +static void writesarr(long *what, int len, FILE *out) |