commit 7d882105ec219b2839d5ad9a5c860604e386ba14
parent bf2784da4a1cf916804f96f561d08e7ac563d445
Author: Kyle Milz <krwmilz@gmail.com>
Date: Thu, 9 Mar 2023 01:20:33 +0000
ansi function signatures
Diffstat:
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/dvi-draw.c b/dvi-draw.c
@@ -192,8 +192,7 @@ xxone()
#define xone() (currinf.pos < currinf.end ? *(currinf.pos)++ : xxone())
static unsigned long
-xnum(size)
- ubyte size;
+xnum(ubyte size)
{
long x = 0;
@@ -216,13 +215,11 @@ xsnum(ubyte size)
#define xsfour() xsnum(4)
static void
-xskip(offset)
- long offset;
+xskip(long offset)
{
currinf.pos += offset;
if (!currinf.virtual && currinf.pos > currinf.end)
- (void) fseek(dvi_file, (long) (currinf.pos - currinf.end),
- SEEK_CUR);
+ (void) fseek(dvi_file, (long) (currinf.pos - currinf.end), SEEK_CUR);
}
static void __attribute__((__noreturn__))