Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/toolchain/libiberty Avoid redeclaring (improperly) ...



details:   https://anonhg.NetBSD.org/src/rev/ace5ce1a7c9f
branches:  trunk
changeset: 510481:ace5ce1a7c9f
user:      tv <tv%NetBSD.org@localhost>
date:      Wed May 30 09:51:10 2001 +0000

description:
Avoid redeclaring (improperly) symbols already in NetBSD #includes.

diffstat:

 gnu/dist/toolchain/libiberty/strerror.c  |  2 +-
 gnu/dist/toolchain/libiberty/strsignal.c |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r 0484450acb79 -r ace5ce1a7c9f gnu/dist/toolchain/libiberty/strerror.c
--- a/gnu/dist/toolchain/libiberty/strerror.c   Wed May 30 09:23:30 2001 +0000
+++ b/gnu/dist/toolchain/libiberty/strerror.c   Wed May 30 09:51:10 2001 +0000
@@ -463,7 +463,7 @@
 static int sys_nerr;
 static const char **sys_errlist;
 
-#else
+#elif !defined(__NetBSD__)
 
 extern int sys_nerr;
 extern char *sys_errlist[];
diff -r 0484450acb79 -r ace5ce1a7c9f gnu/dist/toolchain/libiberty/strsignal.c
--- a/gnu/dist/toolchain/libiberty/strsignal.c  Wed May 30 09:23:30 2001 +0000
+++ b/gnu/dist/toolchain/libiberty/strsignal.c  Wed May 30 09:51:10 2001 +0000
@@ -244,7 +244,7 @@
 static int sys_nsig;
 static const char **sys_siglist;
 
-#else
+#elif !defined(__NetBSD__)
 
 #ifdef NSIG
 static int sys_nsig = NSIG;



Home | Main Index | Thread Index | Old Index