From: Ulrich Drepper Date: Sun, 20 Jun 1999 08:57:58 +0000 (+0000) Subject: * libio/libio.h (_IO_putwc): Correct type of first argument. * wcsmbs/wchar.h: (fputw... X-Git-Tag: cvs/pre-glibc-2_1_3~728 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c6bc23f6c81fc0d43688b51eceb4fbb270c4b28d;p=thirdparty%2Fglibc.git * 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. --- diff --git a/libio/fputwc.c b/libio/fputwc.c index cc8451a98fc..9a248eee751 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 343e34d90e2..1ecf96264f8 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 ddf24b2456c..ba820409f12 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 07557ac8c48..ec3d6e47a98 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 3f7a26fad2f..7a9bb95ccaa 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 0a2854f16d4..a4e8411831e 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 0da7dcfa308..c8add84146c 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);