52 lines
1.0 KiB
Plaintext
52 lines
1.0 KiB
Plaintext
$NetBSD: patch-aa,v 1.2 2011/09/04 01:22:04 dholland Exp $
|
|
|
|
Fix function return types.
|
|
Fix invalid cpp usage.
|
|
|
|
--- usq.c.orig 1988-01-17 00:54:04.000000000 +0000
|
|
+++ usq.c
|
|
@@ -62,6 +62,9 @@
|
|
|
|
#define VERSION "3.3 10/29/86"
|
|
|
|
+void obey(char *p);
|
|
+void unsqueeze(char *infile);
|
|
+
|
|
/* This must follow all include files */
|
|
unsigned int dispcnt; /* How much of each file to preview */
|
|
char ffflag; /* should formfeed separate preview from different files */
|
|
@@ -107,6 +110,7 @@ char *argv[];
|
|
|
|
/* ejecteject */
|
|
|
|
+void
|
|
obey(p)
|
|
char *p;
|
|
{
|
|
@@ -153,6 +157,7 @@ char *p;
|
|
|
|
/* ejecteject */
|
|
|
|
+void
|
|
unsqueeze(infile)
|
|
char *infile;
|
|
{
|
|
@@ -215,7 +220,7 @@ char *infile;
|
|
goto closein;
|
|
}
|
|
|
|
-#ifdef C70 | TOPS20
|
|
+#if defined(C70) || defined(TOPS20)
|
|
filecrc = getx16(inbuff);
|
|
#else
|
|
filecrc = getw16(inbuff);
|
|
@@ -239,7 +244,7 @@ char *infile;
|
|
printf("%s -> %s: ", infile, outfile);
|
|
#endif
|
|
|
|
-#ifdef C70 | TOPS20
|
|
+#if defined(C70) || defined(TOPS20)
|
|
numnodes = getx16(inbuff);
|
|
#else
|
|
numnodes = getw16(inbuff);
|