diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-01-26 16:22:34 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-01-26 16:22:34 +0000 |
commit | eafa63690d492952cf06088933ce31bee58d509e (patch) | |
tree | 6a878413b23d3066fd75bdfad6a40bc97946eaf4 /Build/source/texk/web2c/pdftexdir/writejbig2.c | |
parent | b5e3ad3cce847709a9da306790954e41c465903e (diff) |
texk/web2c/pdftex compiler warnings
git-svn-id: svn://tug.org/texlive/trunk@16825 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir/writejbig2.c')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/writejbig2.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Build/source/texk/web2c/pdftexdir/writejbig2.c b/Build/source/texk/web2c/pdftexdir/writejbig2.c index cc26cdfe1db..e724a3cab3c 100644 --- a/Build/source/texk/web2c/pdftexdir/writejbig2.c +++ b/Build/source/texk/web2c/pdftexdir/writejbig2.c @@ -118,7 +118,7 @@ int ygetc(FILE * stream) /**********************************************************************/ -FILEINFO *new_fileinfo() +FILEINFO *new_fileinfo(void) { FILEINFO *fip; fip = xtalloc(1, FILEINFO); @@ -136,7 +136,7 @@ FILEINFO *new_fileinfo() return fip; } -PAGEINFO *new_pageinfo() +PAGEINFO *new_pageinfo(void) { PAGEINFO *pip; pip = xtalloc(1, PAGEINFO); @@ -152,7 +152,7 @@ PAGEINFO *new_pageinfo() return pip; } -void init_seginfo(SEGINFO * sip) +static void init_seginfo(SEGINFO * sip) { sip->segnum = 0; sip->isrefered = false; @@ -375,7 +375,7 @@ boolean readseghdr(FILEINFO * fip, SEGINFO * sip) void writeseghdr(FILEINFO * fip, SEGINFO * sip) { unsigned int i; - unsigned long referedseg; + unsigned long referedseg = 0; /* 7.2.2 Segment number */ /* 7.2.3 Segment header flags */ /* 7.2.4 Referred-to segment count and retention flags */ @@ -426,7 +426,7 @@ void writeseghdr(FILEINFO * fip, SEGINFO * sip) void checkseghdr(FILEINFO * fip, SEGINFO * sip) { unsigned int i; - unsigned long referedseg; + unsigned long referedseg = 0; /* 7.2.2 Segment number */ /* 7.2.3 Segment header flags */ /* 7.2.4 Referred-to segment count and retention flags */ @@ -544,7 +544,7 @@ void rd_jbig2_info(FILEINFO * fip) unsigned long currentpage = 0; boolean sipavail = false; PAGEINFO *pip; - SEGINFO *sip; + SEGINFO *sip = NULL; LIST *plp, *slp; fip->file = xfopen(fip->filename, FOPEN_RBIN_MODE); readfilehdr(fip); @@ -730,7 +730,7 @@ void write_jbig2(integer img) /**********************************************************************/ -void flushjbig2page0objects() +void flushjbig2page0objects(void) { FILEINFO *fip; struct avl_traverser t; |