about summary refs log tree commit diff
path: root/libio/putwchar_u.c
diff options
context:
space:
mode:
Diffstat (limited to 'libio/putwchar_u.c')
-rw-r--r--libio/putwchar_u.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libio/putwchar_u.c b/libio/putwchar_u.c
index c8add84146..62c5eb9c2c 100644
--- a/libio/putwchar_u.c
+++ b/libio/putwchar_u.c
@@ -17,12 +17,12 @@
    Boston, MA 02111-1307, USA.  */
 
 #include "libioP.h"
-#include "stdio.h"
+#include <wchar.h>
 
 wint_t
-putwchar_unlocked (c)
-     wchar_t c;
+putwchar_unlocked (wc)
+     wchar_t wc;
 {
-  CHECK_FILE (stdout, WEOF);
-  return _IO_putwc_unlocked (wc, stdout);
+  CHECK_FILE (_IO_stdout, WEOF);
+  return _IO_putwc_unlocked (wc, _IO_stdout);
 }