aboutsummaryrefslogtreecommitdiff
path: root/korean/hpscat/files/patch-misc.c
blob: 2ead275084fc679685f15a9de32bba2aad670aa6 (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 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);