summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/multibyte.c
diff options
context:
space:
mode:
authormillert <>2002-02-19 19:39:38 +0000
committermillert <>2002-02-19 19:39:38 +0000
commit0be1f7d80eff8e3e86b037958be3ab5217ce9b59 (patch)
tree9e6b3b31919b853c473f13c35c4878ac3aef84ab /src/lib/libc/stdlib/multibyte.c
parent97ec74faebf84f0ecbbf3706ec05647d012003c9 (diff)
downloadopenbsd-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.c8
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)
35static char *rcsid = "$OpenBSD: multibyte.c,v 1.2 1996/08/19 08:33:39 tholo Exp $"; 35static 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*/
75int 75int
76#ifdef __STDC__
77wctomb(char *s, wchar_t wchar) 76wctomb(char *s, wchar_t wchar)
78#else
79wctomb(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;