Loading...
stdio/FreeBSD/vwscanf.c Libc-1725.40.4 Libc-320
--- Libc/Libc-1725.40.4/stdio/FreeBSD/vwscanf.c
+++ Libc/Libc-320/stdio/FreeBSD/vwscanf.c
@@ -27,8 +27,6 @@
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD: src/lib/libc/stdio/vwscanf.c,v 1.1 2002/09/23 12:40:06 tjr Exp $");
 
-#include "xlocale_private.h"
-
 #include <stdarg.h>
 #include <stdio.h>
 #include <wchar.h>
@@ -37,13 +35,5 @@
 vwscanf(const wchar_t * __restrict fmt, va_list ap)
 {
 
-	return (vfwscanf_l(stdin, __current_locale(), fmt, ap));
+	return (vfwscanf(stdin, fmt, ap));
 }
-
-int
-vwscanf_l(locale_t loc, const wchar_t * __restrict fmt, va_list ap)
-{
-
-	/* no need to call NORMALIZE_LOCALE(loc) because vfwscanf_l will */
-	return (vfwscanf_l(stdin, loc, fmt, ap));
-}