summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/unpack.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-23 09:46:14 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-23 09:46:14 +0000
commit7b489d8d612c8bef3d6bb1536b62b6aa127e65f2 (patch)
treefcc5bb6e24c0c97ba8aedd3ea22ebd4c60adb5ed /Build/source/texk/dvipsk/unpack.c
parent60470f585d1b8c687e8453c0c74c1baa1ab9cd55 (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/unpack.c')
-rw-r--r--Build/source/texk/dvipsk/unpack.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/Build/source/texk/dvipsk/unpack.c b/Build/source/texk/dvipsk/unpack.c
index de5e41a67df..9d28f0d1f8a 100644
--- a/Build/source/texk/dvipsk/unpack.c
+++ b/Build/source/texk/dvipsk/unpack.c
@@ -27,7 +27,7 @@ static quarterword *p ;
*/
shalfword
-getnyb P1H(void)
+getnyb(void)
{
if ( bitweight == 0 )
{ bitweight = 16 ;
@@ -39,7 +39,7 @@ getnyb P1H(void)
}
Boolean
-getbit P1H(void)
+getbit(void)
{
bitweight >>= 1 ;
if ( bitweight == 0 )
@@ -49,7 +49,8 @@ getbit P1H(void)
return(*p & bitweight) ;
}
-long pkpackednum P1H(void) {
+long
+pkpackednum(void) {
register halfword i;
register long j ;
i = getnyb () ;
@@ -74,7 +75,8 @@ long pkpackednum P1H(void) {
}
}
-void flip P2C(register char *, s, register long, howmany)
+void
+flip(register char *s, register long howmany)
{
register char t ;
@@ -91,8 +93,8 @@ void flip P2C(register char *, s, register long, howmany)
*/
static halfword bftest = 1 ;
long
-unpack P5C(quarterword *, pack, halfword *, raster,
- halfword, cwidth, halfword, cheight, halfword, cmd)
+unpack(quarterword *pack, halfword *raster,
+ halfword cwidth, halfword cheight, halfword cmd)
{
register integer i, j ;
shalfword wordwidth ;