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/files/patch-ab | |
parent | Rename monstrously long patch filenames that were causing tar to exceed (diff) |
Don't mis-prototype sys_nerr
Diffstat (limited to '')
-rw-r--r-- | print/ghostview/files/patch-ab | 25 |
1 files changed, 13 insertions, 12 deletions
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> |