summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/putwchar.c
diff options
context:
space:
mode:
authortjr <tjr@FreeBSD.org>2002-09-28 07:43:44 +0000
committertjr <tjr@FreeBSD.org>2002-09-28 07:43:44 +0000
commit79f7c6df9ad682ea7f68fea69447b8aa16626f89 (patch)
treefec21277845a6002b681cb3657cfe09bf6cfe40c /lib/libc/stdio/putwchar.c
parent609d82aa67bce900c025f86c5e2516ecaa8de7dd (diff)
downloadFreeBSD-src-79f7c6df9ad682ea7f68fea69447b8aa16626f89.zip
FreeBSD-src-79f7c6df9ad682ea7f68fea69447b8aa16626f89.tar.gz
Remove masking macros for getwc(), putwc(), putwchar() and getwchar().
Although there was nothing wrong with getwc() and putwc(), getwchar() and putwchar() assumed that <stdio.h> had been included before <wchar.h>, which is not allowed by the standard.
Diffstat (limited to 'lib/libc/stdio/putwchar.c')
-rw-r--r--lib/libc/stdio/putwchar.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/stdio/putwchar.c b/lib/libc/stdio/putwchar.c
index 35ae489..569ab92 100644
--- a/lib/libc/stdio/putwchar.c
+++ b/lib/libc/stdio/putwchar.c
@@ -35,10 +35,8 @@ __FBSDID("$FreeBSD$");
#include "local.h"
/*
- * Synonym for fputwc(wc, stdout). Function call overhead is not an issue here:
- * wchar.h #define's putwchar(wc) to fgetwc(wc, stdout).
+ * Synonym for fputwc(wc, stdout).
*/
-#undef putwchar
wint_t
putwchar(wchar_t wc)
{
OpenPOWER on IntegriCloud