summaryrefslogtreecommitdiff
path: root/x11/xview-lib/patches/patch-aj
blob: 88442a9b30d2749eeb9a0a1c591d85f0eb9a2dc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$NetBSD: patch-aj,v 1.3 2001/12/20 09:19:55 tron Exp $

--- lib/libxview/filter/filter.c.orig	Tue Jun 29 07:14:57 1993
+++ lib/libxview/filter/filter.c	Thu Dec 20 10:09:16 2001
@@ -39,11 +39,12 @@
 
 char           *stream_fgets();
 
-enum CharClass
+static enum CharClass
                 breakProc();
-struct CharAction
+static struct CharAction
                 digits();
-
+static
+		any_shell_meta();
 
 struct filter_rec **
 xv_parse_filter_table(in, filename)
@@ -203,10 +204,10 @@
 {
     int             i;
     for (i = 0; table[i] != NULL; i++) {
-	cfree((char *) table[i]->call);
+	free((char *) table[i]->call);
 	free((char *) table[i]);
     }
-    cfree((char *) table);
+    free((char *) table);
 }
 
 static struct CharAction