diff options
| author | 2005-03-30 20:13:52 +0000 | |
|---|---|---|
| committer | 2005-03-30 20:13:52 +0000 | |
| commit | a66ee1d5f2f446e8bcc27e705781cfe47cfcfe8b (patch) | |
| tree | 46498c6c87fbff4ce10ffcfa34199c65ceae8b49 /lib/libc/string/__strsignal.c | |
| parent | sync (diff) | |
| download | wireguard-openbsd-a66ee1d5f2f446e8bcc27e705781cfe47cfcfe8b.tar.xz wireguard-openbsd-a66ee1d5f2f446e8bcc27e705781cfe47cfcfe8b.zip | |
ansify + deregister. no binary change on i386. ok deraadt@ pat@ moritz@
Diffstat (limited to 'lib/libc/string/__strsignal.c')
| -rw-r--r-- | lib/libc/string/__strsignal.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/libc/string/__strsignal.c b/lib/libc/string/__strsignal.c index 5bab3cd0af2..ebbf08d24af 100644 --- a/lib/libc/string/__strsignal.c +++ b/lib/libc/string/__strsignal.c @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: __strsignal.c,v 1.8 2003/06/02 20:18:38 millert Exp $"; +static char *rcsid = "$OpenBSD: __strsignal.c,v 1.9 2005/03/30 20:13:52 otto Exp $"; #endif /* LIBC_SCCS and not lint */ #ifdef NLS @@ -45,8 +45,7 @@ static char *rcsid = "$OpenBSD: __strsignal.c,v 1.8 2003/06/02 20:18:38 millert #include <signal.h> #include <string.h> -static char *itoa(num) - int num; +static char *itoa(int num) { static char buffer[11]; char *p; @@ -61,12 +60,10 @@ static char *itoa(num) } char * -__strsignal(num, buf) - int num; - char *buf; +__strsignal(int num, char *buf) { #define UPREFIX "Unknown signal: " - register unsigned int signum; + unsigned int signum; #ifdef NLS nl_catd catd ; |
