From a63d08e6068d7bc8cb98df36d7fd02fa3b757334 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Mon, 1 Sep 1997 17:02:53 +0000 Subject: cccp.c (sys_errlist): Remove special 4.4bsd declaration. * cccp.c (sys_errlist): Remove special 4.4bsd declaration. * collect2.c (sys_errlist): Likewise. * cpplib.c (sys_errlist): Likewise. * gcc.c (sys_errlist): Likewise. * protoize (sys_errlist): Likewise. * configure.in: Check for strerror. * xm-freebsd.h (HAVE_STRERROR): Remove definition. * xm-gnu.h (HAVE_STRERROR): Likewise. * xm-linux.h (HAVE_STRERROR): Likewise. * xm-netbsd.h (HAVE_STRERROR): Likewise. * xm-bsd386.h (HAVE_STRERROR): Likewise. * xm-cygwin32.h (HAVE_STRERROR): Likewise. * xm-dos.h (HAVE_STRERROR): Likewise. * xm-mingw32.h (HAVE_STRERROR): Likewise. * xm-pa.h (HAVE_STRERROR): Likewise. * xm-papro.h (HAVE_STRERROR): Likewise. * xm-sysv4.h (HAVE_STRERROR): Likewise. * configure, config.in: Rebuilt. Remove the need to define HAVE_STRERROR for each host port. From-SVN: r15011 --- gcc/cpplib.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gcc/cpplib.c') diff --git a/gcc/cpplib.c b/gcc/cpplib.c index 50ef8ca..2f0fff7 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -7483,11 +7483,7 @@ extern int errno; #ifndef VMS #ifndef HAVE_STRERROR extern int sys_nerr; -#if defined(bsd4_4) -extern const char *const sys_errlist[]; -#else extern char *sys_errlist[]; -#endif #else /* HAVE_STRERROR */ char *strerror (); #endif -- cgit v1.1