2003-01-13 Roland McGrath <roland@redhat.com>
* strace.c [! HAVE_STRSIGNAL]: Clean up #ifdefs on decls for
sys_siglist and _sys_siglist.
Reported by John Hughes <john@Calva.COM>.
diff --git a/strace.c b/strace.c
index b91b026..a456efd 100644
--- a/strace.c
+++ b/strace.c
@@ -1311,13 +1311,12 @@
#ifndef HAVE_STRSIGNAL
-#ifdef HAVE__SYS_SIGLIST
-#if !HAVE_DECL_SYS_SIGLIST
+#if defined HAVE_SYS_SIGLIST && !defined HAVE_DECL_SYS_SIGLIST
extern char *sys_siglist[];
- extern char *_sys_siglist[];
-#else
#endif
-#endif /* SYS_SIGLIST_DECLARED */
+#if defined HAVE_SYS__SIGLIST && !defined HAVE_DECL__SYS_SIGLIST
+extern char *_sys_siglist[];
+#endif
const char *
strsignal(sig)