diff options
author | Brian Somers <brian@FreeBSD.org> | 2002-06-05 21:46:08 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 2002-06-05 21:46:08 +0000 |
commit | 8520c5964fc4c8a2ede8f78bea2d900168507944 (patch) | |
tree | 0f6acb7ec8fb82769eefa4b029352bd47ab618bb /print/ghostview | |
parent | 9f5a2bc787f032a2363cb32b38c5edb6cbfd195b (diff) | |
download | ports-8520c5964fc4c8a2ede8f78bea2d900168507944.tar.gz ports-8520c5964fc4c8a2ede8f78bea2d900168507944.zip |
Don't mis-prototype sys_nerr
Notes
Notes:
svn path=/head/; revision=60664
Diffstat (limited to 'print/ghostview')
-rw-r--r-- | print/ghostview/files/patch-aa | 25 | ||||
-rw-r--r-- | print/ghostview/files/patch-ab | 25 |
2 files changed, 26 insertions, 24 deletions
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 <perror.h> - #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 <perror.h> + #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 <sys/param.h> - #include <X11/cursorfont.h> ---- 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 <errno.h> + /* BSD 4.3 errno.h does not declare errno */ + extern int errno; ++#ifndef __FreeBSD__ + extern int sys_nerr; +-extern char *sys_errlist[]; ++#endif + + #include <sys/param.h> + #include <X11/cursorfont.h> |