diff options
Diffstat (limited to 'src/lib/libc/string/__strsignal.c')
-rw-r--r-- | src/lib/libc/string/__strsignal.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/lib/libc/string/__strsignal.c b/src/lib/libc/string/__strsignal.c index 5bab3cd0af..ebbf08d24a 100644 --- a/src/lib/libc/string/__strsignal.c +++ b/src/lib/libc/string/__strsignal.c | |||
@@ -28,7 +28,7 @@ | |||
28 | */ | 28 | */ |
29 | 29 | ||
30 | #if defined(LIBC_SCCS) && !defined(lint) | 30 | #if defined(LIBC_SCCS) && !defined(lint) |
31 | static char *rcsid = "$OpenBSD: __strsignal.c,v 1.8 2003/06/02 20:18:38 millert Exp $"; | 31 | static char *rcsid = "$OpenBSD: __strsignal.c,v 1.9 2005/03/30 20:13:52 otto Exp $"; |
32 | #endif /* LIBC_SCCS and not lint */ | 32 | #endif /* LIBC_SCCS and not lint */ |
33 | 33 | ||
34 | #ifdef NLS | 34 | #ifdef NLS |
@@ -45,8 +45,7 @@ static char *rcsid = "$OpenBSD: __strsignal.c,v 1.8 2003/06/02 20:18:38 millert | |||
45 | #include <signal.h> | 45 | #include <signal.h> |
46 | #include <string.h> | 46 | #include <string.h> |
47 | 47 | ||
48 | static char *itoa(num) | 48 | static char *itoa(int num) |
49 | int num; | ||
50 | { | 49 | { |
51 | static char buffer[11]; | 50 | static char buffer[11]; |
52 | char *p; | 51 | char *p; |
@@ -61,12 +60,10 @@ static char *itoa(num) | |||
61 | } | 60 | } |
62 | 61 | ||
63 | char * | 62 | char * |
64 | __strsignal(num, buf) | 63 | __strsignal(int num, char *buf) |
65 | int num; | ||
66 | char *buf; | ||
67 | { | 64 | { |
68 | #define UPREFIX "Unknown signal: " | 65 | #define UPREFIX "Unknown signal: " |
69 | register unsigned int signum; | 66 | unsigned int signum; |
70 | 67 | ||
71 | #ifdef NLS | 68 | #ifdef NLS |
72 | nl_catd catd ; | 69 | nl_catd catd ; |