diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-09-01 17:02:53 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-09-01 17:02:53 +0000 |
commit | 9f7e7c7c3865a91fb77c1145ed4b3b92b457829f (patch) | |
tree | af45a06594372a8ce31307986642e8135b3e6fb6 /gcc/gcc.c | |
parent | 7561ae90b3f0d4a3a0d5c0042a75dcb53a104c91 (diff) | |
download | gcc-9f7e7c7c3865a91fb77c1145ed4b3b92b457829f.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15011 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c index c09285b6270..a03f972c655 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -143,11 +143,7 @@ extern int errno; #ifndef HAVE_STRERROR extern int sys_nerr; -#if defined(bsd4_4) -extern const char *const sys_errlist[]; -#else extern char *sys_errlist[]; -#endif #else extern char *strerror(); #endif |