aboutsummaryrefslogtreecommitdiff
path: root/korean/hpscat/files/patch-misc.c
blob: 36c62278587c79e3dd1d9203722bd02695983e60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- misc.c.orig	1995-11-23 20:40:07 UTC
+++ misc.c
@@ -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 @@ convert(s)
 #endif
       case Nbyte: strcpy(args[1], fromN); break;
       case ISO:   strcpy(args[1], fromI); break;
+      default:    /* NOTREACHED */ return;
     }
     execute(args);
     fclose(fp);