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/dosection.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/dosection.c')
-rw-r--r-- | Build/source/texk/dvipsk/dosection.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Build/source/texk/dvipsk/dosection.c b/Build/source/texk/dvipsk/dosection.c index 82d2e2134bc..9ee1ece4bc7 100644 --- a/Build/source/texk/dvipsk/dosection.c +++ b/Build/source/texk/dvipsk/dosection.c @@ -35,7 +35,7 @@ extern Boolean HPS_FLAG ; * Now we have the main procedure. */ void -dosection P2C(sectiontype *, s, int, c) +dosection(sectiontype *s, int c) { charusetype *cu ; integer prevptr ; @@ -204,7 +204,8 @@ struct p_list_str { /**********************************************************************/ /* Return true iff i is one of the desired output pages */ -int InPageList P1C(integer, i) +int +InPageList(integer i) { register struct p_list_str *pl = ppages; @@ -216,7 +217,8 @@ int InPageList P1C(integer, i) return 0; } -void InstallPL P2C(integer, pslow, integer, pshigh) +void +InstallPL(integer pslow, integer pshigh) { register struct p_list_str *pl; @@ -231,7 +233,7 @@ void InstallPL P2C(integer, pslow, integer, pshigh) side effect, the page selection(s) is (are) prepended to ppages. */ int -ParsePages P1C(register char *, s) +ParsePages(register char *s) { register int c ; /* current character */ register integer n = 0, /* current numeric value */ |