1998-07-05 23:17:32 +00:00
|
|
|
*** gopherd/error.c.orig Fri Dec 27 17:13:12 1996
|
|
|
|
--- gopherd/error.c Fri Dec 27 17:26:28 1996
|
1994-12-12 00:44:48 +00:00
|
|
|
***************
|
1998-07-05 23:17:32 +00:00
|
|
|
*** 255,261 ****
|
1994-12-12 00:44:48 +00:00
|
|
|
|
|
|
|
extern int errno; /* UNIX error number */
|
|
|
|
extern int sys_nerr; /* # of error message strings in sys table */
|
1998-07-05 23:17:32 +00:00
|
|
|
! #ifdef __NetBSD__
|
|
|
|
extern const char *const sys_errlist[]; /* the system error message table */
|
|
|
|
#else
|
|
|
|
extern char *sys_errlist[]; /* the system error message table */
|
|
|
|
--- 255,261 ----
|
1994-12-12 00:44:48 +00:00
|
|
|
|
1998-07-05 23:17:32 +00:00
|
|
|
extern int errno; /* UNIX error number */
|
|
|
|
extern int sys_nerr; /* # of error message strings in sys table */
|
|
|
|
! #if !(defined(BSD) && (BSD >= 199103))
|
|
|
|
extern const char *const sys_errlist[]; /* the system error message table */
|
|
|
|
#else
|
|
|
|
extern char *sys_errlist[]; /* the system error message table */
|
|
|
|
*** gopher/globals.h.orig Fri Nov 3 16:18:17 1995
|
|
|
|
--- gopher/globals.h Mon Apr 14 15:33:32 1997
|
1994-12-12 00:44:48 +00:00
|
|
|
***************
|
1998-07-05 23:17:32 +00:00
|
|
|
*** 129,135 ****
|
1994-12-12 00:44:48 +00:00
|
|
|
|
|
|
|
#ifndef VMS
|
|
|
|
extern char **environ; /* User environment array */
|
1998-07-05 23:17:32 +00:00
|
|
|
! #ifdef __NetBSD__
|
|
|
|
extern const char *const sys_errlist[];
|
1994-12-12 00:44:48 +00:00
|
|
|
#else
|
1998-07-05 23:17:32 +00:00
|
|
|
extern char *sys_errlist[];
|
|
|
|
--- 129,135 ----
|
1994-12-12 00:44:48 +00:00
|
|
|
|
1998-07-05 23:17:32 +00:00
|
|
|
#ifndef VMS
|
|
|
|
extern char **environ; /* User environment array */
|
|
|
|
! #if defined(__NetBSD__) || defined(__FreeBSD__)
|
|
|
|
extern const char *const sys_errlist[];
|
|
|
|
#else
|
|
|
|
extern char *sys_errlist[];
|