Loading...
--- Libc/Libc-1725.40.4/stdio/FreeBSD/putwchar.c
+++ Libc/Libc-320/stdio/FreeBSD/putwchar.c
@@ -25,9 +25,7 @@
*/
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: src/lib/libc/stdio/putwchar.c,v 1.3 2004/05/25 10:42:52 tjr Exp $");
-
-#include "xlocale_private.h"
+__FBSDID("$FreeBSD: src/lib/libc/stdio/putwchar.c,v 1.2 2002/09/28 07:43:44 tjr Exp $");
#include "namespace.h"
#include <stdio.h>
@@ -36,8 +34,6 @@
#include "libc_private.h"
#include "local.h"
-#undef putwchar
-
/*
* Synonym for fputwc(wc, stdout).
*/
@@ -45,13 +41,5 @@
putwchar(wchar_t wc)
{
- return (fputwc_l(wc, stdout, __current_locale()));
+ return (fputwc(wc, stdout));
}
-
-wint_t
-putwchar_l(wchar_t wc, locale_t loc)
-{
-
- /* no need to call NORMALIZE_LOCALE(loc) because fputwc_l will */
- return (fputwc_l(wc, stdout, loc));
-}