aboutsummaryrefslogtreecommitdiff
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
parentd1407e33350b8bd55c411e76ccf5c5dc70e28293 (diff)
downloadglibc-c6bc23f6c81fc0d43688b51eceb4fbb270c4b28d.zip
glibc-c6bc23f6c81fc0d43688b51eceb4fbb270c4b28d.tar.gz
glibc-c6bc23f6c81fc0d43688b51eceb4fbb270c4b28d.tar.bz2
* 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.
-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 cc8451a..9a248ee 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 343e34d..1ecf962 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 ddf24b2..ba82040 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 07557ac..ec3d6e4 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 3f7a26f..7a9bb95 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 0a2854f..a4e8411 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 0da7dcf..c8add84 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);