summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/stdio/_stdio.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/libc/stdio/_stdio.h b/libc/stdio/_stdio.h
index 13ecc3b4a..c5dd22935 100644
--- a/libc/stdio/_stdio.h
+++ b/libc/stdio/_stdio.h
@@ -26,10 +26,6 @@ extern int __vsnprintf (char *__restrict __s, size_t __maxlen,
__const char *__restrict __format, __gnuc_va_list __arg)
__THROW __attribute__ ((__format__ (__printf__, 3, 0))) attribute_hidden;
-extern int __vfwprintf (__FILE *__restrict __s,
- __const wchar_t *__restrict __format,
- __gnuc_va_list __arg) attribute_hidden;
-
extern int __vfscanf (FILE *__restrict __s, __const char *__restrict __format,
__gnuc_va_list __arg)
__attribute__ ((__format__ (__scanf__, 2, 0))) attribute_hidden;
@@ -38,15 +34,19 @@ extern int __vsscanf (__const char *__restrict __s,
__const char *__restrict __format, __gnuc_va_list __arg)
__THROW __attribute__ ((__format__ (__scanf__, 2, 0))) attribute_hidden;
+#ifdef __UCLIBC_HAS_WCHAR__
+#include <wchar.h>
+
+extern int __vfwprintf (__FILE *__restrict __s,
+ __const wchar_t *__restrict __format,
+ __gnuc_va_list __arg) attribute_hidden;
+
extern int __vfwscanf (__FILE *__restrict __s,
__const wchar_t *__restrict __format,
__gnuc_va_list __arg) attribute_hidden;
extern int __vswscanf (__const wchar_t *__restrict __s,
__const wchar_t *__restrict __format,
__gnuc_va_list __arg) __THROW attribute_hidden;
-
-#ifdef __UCLIBC_HAS_WCHAR__
-#include <wchar.h>
#endif
#ifdef __UCLIBC_HAS_THREADS__