* 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.

This commit is contained in:
Ulrich Drepper 1999-06-20 08:57:58 +00:00
parent d1407e3335
commit c6bc23f6c8
7 changed files with 7 additions and 7 deletions

View File

@ -28,7 +28,7 @@
wint_t
fputwc (wc, fp)
wint_t wc;
wchar_t wc;
_IO_FILE *fp;
{
int result;

View File

@ -30,7 +30,7 @@
wint_t
fputwc_unlocked (wc, fp)
wint_t wc;
wchar_t wc;
_IO_FILE *fp;
{
CHECK_FILE (fp, EOF);

View File

@ -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));

View File

@ -21,7 +21,7 @@
wint_t
putwc (wc, fp)
wint_t wc;
wchar_t wc;
_IO_FILE *fp;
{
wint_t result;

View File

@ -21,7 +21,7 @@
wint_t
putwc_unlocked (wc, fp)
wint_t wc;
wchar_t wc;
_IO_FILE *fp;
{
CHECK_FILE (fp, WEOF);

View File

@ -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,

View File

@ -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);