diff options
author | deraadt <> | 2003-06-11 21:08:16 +0000 |
---|---|---|
committer | deraadt <> | 2003-06-11 21:08:16 +0000 |
commit | 05ebc6b11cf74e0e9e901f2e1c26d0d682c57842 (patch) | |
tree | 0ab503c1cf313bdf01aa32f8ffd0938a3d19c2a9 /src/lib/libc/string/strerror.c | |
parent | 9b3b34e9713b6e433e3bb19fc1808375d5c69917 (diff) | |
download | openbsd-05ebc6b11cf74e0e9e901f2e1c26d0d682c57842.tar.gz openbsd-05ebc6b11cf74e0e9e901f2e1c26d0d682c57842.tar.bz2 openbsd-05ebc6b11cf74e0e9e901f2e1c26d0d682c57842.zip |
ansification; pval ok
Diffstat (limited to 'src/lib/libc/string/strerror.c')
-rw-r--r-- | src/lib/libc/string/strerror.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/libc/string/strerror.c b/src/lib/libc/string/strerror.c index 60591c6ee2..6496f50afd 100644 --- a/src/lib/libc/string/strerror.c +++ b/src/lib/libc/string/strerror.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: strerror.c,v 1.4 2003/06/02 20:18:38 millert Exp $"; | 31 | static char *rcsid = "$OpenBSD: strerror.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $"; |
32 | #endif /* LIBC_SCCS and not lint */ | 32 | #endif /* LIBC_SCCS and not lint */ |
33 | 33 | ||
34 | #include <string.h> | 34 | #include <string.h> |
@@ -43,8 +43,7 @@ static char *rcsid = "$OpenBSD: strerror.c,v 1.4 2003/06/02 20:18:38 millert Exp | |||
43 | extern char *__strerror(int, char *); | 43 | extern char *__strerror(int, char *); |
44 | 44 | ||
45 | char * | 45 | char * |
46 | strerror(num) | 46 | strerror(int num) |
47 | int num; | ||
48 | { | 47 | { |
49 | static char buf[NL_TEXTMAX]; | 48 | static char buf[NL_TEXTMAX]; |
50 | return __strerror(num, buf); | 49 | return __strerror(num, buf); |