summaryrefslogtreecommitdiff
path: root/graphics/xart/patches/patch-ae
blob: 60d3c2a1e92730f70610554ec6a146f36c648cf6 (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
$NetBSD: patch-ae,v 1.2 2006/02/23 21:24:12 joerg Exp $
--- rw/rwTable.c.orig	Thu Dec 31 20:12:10 1998
+++ rw/rwTable.c	Thu Dec 31 20:13:44 1998
@@ -122,7 +122,6 @@ static char *usedMagicReader = NULL;
 static Image *
 readMagic(char *file)
 {
-    extern int errno;
     int i;
 
     errno = 0;
@@ -231,13 +230,6 @@ RWtableGetWriterList()
 char *
 RWGetMsg()
 {
-#if defined(BSD4_4)
-    __const extern char *__const sys_errlist[];
-#else
-    extern char *sys_errlist[];
-#endif
-    extern int errno;
-
     if (RWtableMsg[0] == '\0') {
 	if (errno == 0)
 	    return "";