From: Roland McGrath Date: Tue, 14 Jan 2003 07:53:33 +0000 (+0000) Subject: 2003-01-13 Roland McGrath X-Git-Tag: v4.5.18~871 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f474e087ebb77b57eb87f4fdc557d53c64ca933;p=strace 2003-01-13 Roland McGrath * strace.c [! HAVE_STRSIGNAL]: Clean up #ifdefs on decls for sys_siglist and _sys_siglist. Reported by John Hughes . --- diff --git a/strace.c b/strace.c index b91b0268..a456efd2 100644 --- a/strace.c +++ b/strace.c @@ -1311,13 +1311,12 @@ int errno; #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)