about summary refs log tree commit diff
path: root/libio
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-20 08:57:58 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-20 08:57:58 +0000
commitc6bc23f6c81fc0d43688b51eceb4fbb270c4b28d (patch)
treee4dcd4a2a84c5efddda2432e432a2748dae825bd /libio
parentd1407e33350b8bd55c411e76ccf5c5dc70e28293 (diff)
downloadglibc-c6bc23f6c81fc0d43688b51eceb4fbb270c4b28d.tar.gz
glibc-c6bc23f6c81fc0d43688b51eceb4fbb270c4b28d.tar.xz
glibc-c6bc23f6c81fc0d43688b51eceb4fbb270c4b28d.zip
* libio/libio.h (_IO_putwc): Correct type of first argument. * wcsmbs/wchar.h: (fputwc, putwc, putwchar, fputwc_unlocked, putwc_unlocked, putwchar_unlocked): Likewise. * libio/fputwc.c: Likewise. * libio/fputwc_unlocked.c: Likewise. * libio/putwc.c: Likewise. * libio/putwc_unlocked.c: Likewise. * libio/putwchar.c: Likewise. * libio/putwchar_unlocked.c: Likewise.
Diffstat (limited to 'libio')
-rw-r--r--libio/fputwc.c2
-rw-r--r--libio/fputwc_u.c2
-rw-r--r--libio/libio.h2
-rw-r--r--libio/putwc.c2
-rw-r--r--libio/putwc_u.c2
-rw-r--r--libio/putwchar.c2
-rw-r--r--libio/putwchar_u.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/libio/fputwc.c b/libio/fputwc.c
index cc8451a98f..9a248eee75 100644
--- a/libio/fputwc.c
+++ b/libio/fputwc.c
@@ -28,7 +28,7 @@
 
 wint_t
 fputwc (wc, fp)
-     wint_t wc;
+     wchar_t wc;
      _IO_FILE *fp;
 {
   int result;
diff --git a/libio/fputwc_u.c b/libio/fputwc_u.c
index 343e34d90e..1ecf96264f 100644
--- a/libio/fputwc_u.c
+++ b/libio/fputwc_u.c
@@ -30,7 +30,7 @@
 
 wint_t
 fputwc_unlocked (wc, fp)
-     wint_t wc;
+     wchar_t wc;
      _IO_FILE *fp;
 {
   CHECK_FILE (fp, EOF);
diff --git a/libio/libio.h b/libio/libio.h
index ddf24b2456..ba820409f1 100644
--- a/libio/libio.h
+++ b/libio/libio.h
@@ -418,7 +418,7 @@ extern _IO_wint_t __woverflow __P ((_IO_FILE *, _IO_wint_t));
 extern int _IO_getc __P ((_IO_FILE *__fp));
 extern int _IO_putc __P ((int __c, _IO_FILE *__fp));
 extern _IO_wint_t _IO_getwc __P ((_IO_FILE *__fp));
-extern _IO_wint_t _IO_putwc __P ((_IO_wint_t __wc, _IO_FILE *__fp));
+extern _IO_wint_t _IO_putwc __P ((_IO_wchar_t __wc, _IO_FILE *__fp));
 extern int _IO_feof __P ((_IO_FILE *__fp));
 extern int _IO_ferror __P ((_IO_FILE *__fp));
 
diff --git a/libio/putwc.c b/libio/putwc.c
index 07557ac8c4..ec3d6e47a9 100644
--- a/libio/putwc.c
+++ b/libio/putwc.c
@@ -21,7 +21,7 @@
 
 wint_t
 putwc (wc, fp)
-     wint_t wc;
+     wchar_t wc;
      _IO_FILE *fp;
 {
   wint_t result;
diff --git a/libio/putwc_u.c b/libio/putwc_u.c
index 3f7a26fad2..7a9bb95cca 100644
--- a/libio/putwc_u.c
+++ b/libio/putwc_u.c
@@ -21,7 +21,7 @@
 
 wint_t
 putwc_unlocked (wc, fp)
-     wint_t wc;
+     wchar_t wc;
      _IO_FILE *fp;
 {
   CHECK_FILE (fp, WEOF);
diff --git a/libio/putwchar.c b/libio/putwchar.c
index 0a2854f16d..a4e8411831 100644
--- a/libio/putwchar.c
+++ b/libio/putwchar.c
@@ -21,7 +21,7 @@
 
 wint_t
 putwchar (wc)
-     wint_t wc;
+     wchar_t wc;
 {
   wint_t result;
   _IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile,
diff --git a/libio/putwchar_u.c b/libio/putwchar_u.c
index 0da7dcfa30..c8add84146 100644
--- a/libio/putwchar_u.c
+++ b/libio/putwchar_u.c
@@ -21,7 +21,7 @@
 
 wint_t
 putwchar_unlocked (c)
-     wint_t c;
+     wchar_t c;
 {
   CHECK_FILE (stdout, WEOF);
   return _IO_putwc_unlocked (wc, stdout);