diff options
author | millert <> | 2002-02-19 19:39:38 +0000 |
---|---|---|
committer | millert <> | 2002-02-19 19:39:38 +0000 |
commit | 0be1f7d80eff8e3e86b037958be3ab5217ce9b59 (patch) | |
tree | 9e6b3b31919b853c473f13c35c4878ac3aef84ab /src/lib/libc/stdlib/multibyte.c | |
parent | 97ec74faebf84f0ecbbf3706ec05647d012003c9 (diff) | |
download | openbsd-0be1f7d80eff8e3e86b037958be3ab5217ce9b59.tar.gz openbsd-0be1f7d80eff8e3e86b037958be3ab5217ce9b59.tar.bz2 openbsd-0be1f7d80eff8e3e86b037958be3ab5217ce9b59.zip |
We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.
Diffstat (limited to 'src/lib/libc/stdlib/multibyte.c')
-rw-r--r-- | src/lib/libc/stdlib/multibyte.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/libc/stdlib/multibyte.c b/src/lib/libc/stdlib/multibyte.c index 12e70c4a2c..6f08bbe342 100644 --- a/src/lib/libc/stdlib/multibyte.c +++ b/src/lib/libc/stdlib/multibyte.c | |||
@@ -32,7 +32,7 @@ | |||
32 | */ | 32 | */ |
33 | 33 | ||
34 | #if defined(LIBC_SCCS) && !defined(lint) | 34 | #if defined(LIBC_SCCS) && !defined(lint) |
35 | static char *rcsid = "$OpenBSD: multibyte.c,v 1.2 1996/08/19 08:33:39 tholo Exp $"; | 35 | static char *rcsid = "$OpenBSD: multibyte.c,v 1.3 2002/02/19 19:39:37 millert Exp $"; |
36 | #endif /* LIBC_SCCS and not lint */ | 36 | #endif /* LIBC_SCCS and not lint */ |
37 | 37 | ||
38 | #include <stdlib.h> | 38 | #include <stdlib.h> |
@@ -73,13 +73,7 @@ mbtowc(pwc, s, n) | |||
73 | 73 | ||
74 | /*ARGSUSED*/ | 74 | /*ARGSUSED*/ |
75 | int | 75 | int |
76 | #ifdef __STDC__ | ||
77 | wctomb(char *s, wchar_t wchar) | 76 | wctomb(char *s, wchar_t wchar) |
78 | #else | ||
79 | wctomb(s, wchar) | ||
80 | char *s; | ||
81 | wchar_t wchar; | ||
82 | #endif | ||
83 | { | 77 | { |
84 | if (s == NULL) | 78 | if (s == NULL) |
85 | return 0; | 79 | return 0; |