Loading...
--- Libc/Libc-1725.40.4/stdio/FreeBSD/dprintf.c
+++ Libc/Libc-763.12/stdio/FreeBSD/dprintf.c
@@ -27,8 +27,7 @@
#include <sys/cdefs.h>
__FBSDID("$FreeBSD: src/lib/libc/stdio/dprintf.c,v 1.1 2009/03/04 03:38:51 das Exp $");
-#include "xlocale_private.h"
-
+#define _WITH_DPRINTF
#include "namespace.h"
#include <stdarg.h>
#include <stdio.h>
@@ -41,19 +40,7 @@
int ret;
va_start(ap, fmt);
- ret = vdprintf_l(fd, __current_locale(), fmt, ap);
+ ret = vdprintf(fd, fmt, ap);
va_end(ap);
return (ret);
}
-
-int
-dprintf_l(int fd, locale_t loc, const char * __restrict fmt, ...)
-{
- va_list ap;
- int ret;
-
- va_start(ap, fmt);
- ret = vdprintf_l(fd, loc, fmt, ap);
- va_end(ap);
- return (ret);
-}