fix missing prototype for strsignal

This commit is contained in:
Rich Felker 2011-02-26 23:50:26 -05:00
parent 41d518360f
commit 2a195dd31c
2 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@ char *stpncpy(char *, const char *, size_t);
size_t strnlen (const char *, size_t);
char *strdup (const char *);
char *strndup (const char *, size_t);
char *strsignal(int);
#endif
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE)

View File

@ -1,4 +1,5 @@
#include <signal.h>
#include <string.h>
#if (SIGHUP == 1) && (SIGINT == 2) && (SIGQUIT == 3) && (SIGILL == 4) \
&& (SIGTRAP == 5) && (SIGABRT == 6) && (SIGBUS == 7) && (SIGFPE == 8) \