diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-23 09:46:14 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-06-23 09:46:14 +0000 |
commit | 7b489d8d612c8bef3d6bb1536b62b6aa127e65f2 (patch) | |
tree | fcc5bb6e24c0c97ba8aedd3ea22ebd4c60adb5ed /Build/source/texk/dvipsk/dviinput.c | |
parent | 60470f585d1b8c687e8453c0c74c1baa1ab9cd55 (diff) |
texk/dvipsk/: enable compiler warnings
use ANSI C function declarations and prototypes
git-svn-id: svn://tug.org/texlive/trunk@13914 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/dviinput.c')
-rw-r--r-- | Build/source/texk/dvipsk/dviinput.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Build/source/texk/dvipsk/dviinput.c b/Build/source/texk/dvipsk/dviinput.c index 92bd81af32c..bd828ef2c65 100644 --- a/Build/source/texk/dvipsk/dviinput.c +++ b/Build/source/texk/dvipsk/dviinput.c @@ -11,13 +11,13 @@ extern FILE *dvifile ; extern quarterword *curpos, *curlim ; void -abortpage P1H(void) +abortpage(void) { error("! unexpected eof on DVI file") ; } shalfword /* the value returned is, however, between 0 and 255 */ -dvibyte P1H(void) +dvibyte(void) { register shalfword i ; if (curpos) { @@ -30,21 +30,21 @@ dvibyte P1H(void) } halfword -twobytes P1H(void) +twobytes(void) { register halfword i ; i = dvibyte() ; return(i*256+dvibyte()) ; } integer -threebytes P1H(void) +threebytes(void) { register integer i ; i = twobytes() ; return(i*256+dvibyte()) ; } shalfword -signedbyte P1H(void) +signedbyte(void) { register shalfword i ; if (curpos) { @@ -58,7 +58,7 @@ signedbyte P1H(void) } shalfword -signedpair P1H(void) +signedpair(void) { register shalfword i ; i = signedbyte() ; @@ -66,7 +66,7 @@ signedpair P1H(void) } integer -signedtrio P1H(void) +signedtrio(void) { register integer i ; i = signedpair() ; @@ -74,7 +74,7 @@ signedtrio P1H(void) } integer -signedquad P1H(void) +signedquad(void) { register integer i ; i = signedpair() ; @@ -82,7 +82,7 @@ signedquad P1H(void) } void -skipover P1C(int, i) +skipover(int i) { while (i-->0) (void)dvibyte() ; } |