aboutsummaryrefslogtreecommitdiff
path: root/libio/putwchar_u.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-21 16:46:16 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-21 16:46:16 +0000
commitf042f18f936c0ebe2ece3dcdeb657a833dba5bb0 (patch)
tree6026e179df3233daccb297a8861c654c1ec4d5db /libio/putwchar_u.c
parentae8b36f7ec9f3e8f7a6f52154b3e92669e8681a5 (diff)
downloadglibc-f042f18f936c0ebe2ece3dcdeb657a833dba5bb0.zip
glibc-f042f18f936c0ebe2ece3dcdeb657a833dba5bb0.tar.gz
glibc-f042f18f936c0ebe2ece3dcdeb657a833dba5bb0.tar.bz2
Update.
1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * libio/Makefile (routines): Add putwchar and putwchar_u. * libio/putwchar.c: Include <wchar.h> instead of "stdio.h". * libio/putwchar_u.c: Likewise. Use _IO_stdout instead of stdout. Fix parameter name. * libio/getchar.c: Consistently use _IO_stdin instead of stdin. * libio/getchar_u.c: Likewise. * libio/putchar_u.c: Use _IO_stdout instead of stdout. 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> * include/features.h (__GNUC_PREREQ): Don't generate `defined' via macro expansion---it's undefined. Properly parenthesize substituted parameters. (__GLIBC_PREREQ): Likewise.
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 c8add84..62c5eb9 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);
}