diff options
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/gcc/system.h b/gcc/system.h index 0fa561a..d9ae9d3 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -397,19 +397,13 @@ extern int sys_nerr; extern char *sys_errlist[]; #endif /* HAVE_STRERROR */ -#ifdef HAVE_STRSIGNAL -# ifdef NEED_DECLARATION_STRSIGNAL -# ifndef strsignal -extern char * strsignal (); -# endif -# endif -#else /* ! HAVE_STRSIGNAL */ -# ifndef SYS_SIGLIST_DECLARED -# ifndef NO_SYS_SIGLIST -extern char * sys_siglist[]; -# endif +/* If the system doesn't provide strsignal, we get it defined in + libiberty but no declaration is supplied. */ +#ifdef NEED_DECLARATION_STRSIGNAL +# ifndef strsignal +extern const char *strsignal PARAMS ((int)); # endif -#endif /* HAVE_STRSIGNAL */ +#endif #ifdef HAVE_GETRLIMIT # ifdef NEED_DECLARATION_GETRLIMIT |