summaryrefslogtreecommitdiff
path: root/graphics/urt/files/patch-cnv__rletovcr.c
blob: d68f14745faba63e641277a10ce8ae04fc46cf93 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- cnv/rletovcr.c.orig	Thu Mar 10 20:17:23 2005
+++ cnv/rletovcr.c	Thu Mar 10 20:20:49 2005
@@ -83,11 +83,10 @@
 static char COMMENT[80];   /* comment! */
 #endif
     
-WriteVICARHeader(fd, width, height, BandsPerPixel)
+void WriteVICARHeader(fd, width, height, BandsPerPixel)
 FILE *fd;
 int width, height, BandsPerPixel;
 {
-    int pad;
     char *buffer, *bp;
 
     /*
@@ -254,7 +253,7 @@
 int argc;
 char *argv[];
 {
-    char *infname = NULL, outfname = NULL;
+    char *infname = NULL, *outfname = NULL;
     int oflag = 0;
     unsigned char *VICARImage;
     rle_hdr the_hdr;