Files
pkgsrc-ng/archivers/squsq/patches/patch-aa
2013-09-26 17:14:40 +02:00

52 lines
1.0 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
$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[];
/* eject eject */
+void
obey(p)
char *p;
{
@@ -153,6 +157,7 @@ char *p;
/* eject eject */
+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);