freebsd-ports/korean/hpscat/files/patch-misc.c
Jung-uk Kim 88be950540 - Re-add ftp.kaist.ac.kr and remove defunct ftp.kreonet.re.kr.
- Modernize the port and make Clang happy.
2013-06-17 23:25:53 +00:00

21 lines
481 B
C

--- misc.c.orig 1995-11-23 15:40:07.000000000 -0500
+++ misc.c 2013-06-12 18:43:01.000000000 -0400
@@ -2,8 +2,8 @@
#include "hpscat.h"
#include "paper.h"
-extern totalpages;
-static converted;
+extern int totalpages;
+static int converted;
char *tmpfn;
void
@@ -36,6 +36,7 @@
#endif
case Nbyte: strcpy(args[1], fromN); break;
case ISO: strcpy(args[1], fromI); break;
+ default: /* NOTREACHED */ return;
}
execute(args);
fclose(fp);