From: Rich Felker Date: Sun, 27 Feb 2011 04:50:26 +0000 (-0500) Subject: fix missing prototype for strsignal X-Git-Tag: v0.7.0~56 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2a195dd31ceb2a483ea547444aac080bee132ad2;p=oweals%2Fmusl.git fix missing prototype for strsignal --- diff --git a/include/string.h b/include/string.h index dfe142a2..00c8e8ff 100644 --- a/include/string.h +++ b/include/string.h @@ -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) diff --git a/src/string/strsignal.c b/src/string/strsignal.c index 72fba8d1..3b0ae6d7 100644 --- a/src/string/strsignal.c +++ b/src/string/strsignal.c @@ -1,4 +1,5 @@ #include +#include #if (SIGHUP == 1) && (SIGINT == 2) && (SIGQUIT == 3) && (SIGILL == 4) \ && (SIGTRAP == 5) && (SIGABRT == 6) && (SIGBUS == 7) && (SIGFPE == 8) \