From 8520c5964fc4c8a2ede8f78bea2d900168507944 Mon Sep 17 00:00:00 2001 From: Brian Somers Date: Wed, 5 Jun 2002 21:46:08 +0000 Subject: Don't mis-prototype sys_nerr --- print/ghostview/files/patch-aa | 25 +++++++++++++------------ print/ghostview/files/patch-ab | 25 +++++++++++++------------ 2 files changed, 26 insertions(+), 24 deletions(-) (limited to 'print/ghostview') diff --git a/print/ghostview/files/patch-aa b/print/ghostview/files/patch-aa index 62bf2701f2a1..da80bc7b08ef 100644 --- a/print/ghostview/files/patch-aa +++ b/print/ghostview/files/patch-aa @@ -1,12 +1,13 @@ -*** misc.c.orig Fri Oct 21 22:36:09 1994 ---- misc.c Fri Oct 21 22:36:20 1994 -*************** -*** 61,67 **** - #include - #else - extern int sys_nerr; -- extern char *sys_errlist[]; - #endif - - #include "Ghostview.h" ---- 61,66 ---- +--- misc.c.orig Sat Jul 24 03:29:12 1993 ++++ misc.c Wed Jun 5 22:41:39 2002 +@@ -60,8 +60,9 @@ + #ifdef VMS + #include + #else ++#ifndef __FreeBSD__ + extern int sys_nerr; +-extern char *sys_errlist[]; ++#endif + #endif + + #include "Ghostview.h" diff --git a/print/ghostview/files/patch-ab b/print/ghostview/files/patch-ab index 6efae3f78d8d..9a5135290338 100644 --- a/print/ghostview/files/patch-ab +++ b/print/ghostview/files/patch-ab @@ -1,12 +1,13 @@ -*** SelFile.c.orig Fri Oct 21 22:37:11 1994 ---- SelFile.c Fri Oct 21 22:37:17 1994 -*************** -*** 46,52 **** - /* BSD 4.3 errno.h does not declare errno */ - extern int errno; - extern int sys_nerr; -- extern char *sys_errlist[]; - - #include - #include ---- 46,51 ---- +--- SelFile.c.orig Sat Jul 24 03:29:12 1993 ++++ SelFile.c Wed Jun 5 22:43:26 2002 +@@ -45,8 +45,9 @@ + #include + /* BSD 4.3 errno.h does not declare errno */ + extern int errno; ++#ifndef __FreeBSD__ + extern int sys_nerr; +-extern char *sys_errlist[]; ++#endif + + #include + #include -- cgit v1.2.3