mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 17:53:37 +08:00
* 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:
parent
d1407e3335
commit
c6bc23f6c8
@ -28,7 +28,7 @@
|
||||
|
||||
wint_t
|
||||
fputwc (wc, fp)
|
||||
wint_t wc;
|
||||
wchar_t wc;
|
||||
_IO_FILE *fp;
|
||||
{
|
||||
int result;
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
wint_t
|
||||
fputwc_unlocked (wc, fp)
|
||||
wint_t wc;
|
||||
wchar_t wc;
|
||||
_IO_FILE *fp;
|
||||
{
|
||||
CHECK_FILE (fp, EOF);
|
||||
|
@ -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));
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
wint_t
|
||||
putwc (wc, fp)
|
||||
wint_t wc;
|
||||
wchar_t wc;
|
||||
_IO_FILE *fp;
|
||||
{
|
||||
wint_t result;
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
wint_t
|
||||
putwc_unlocked (wc, fp)
|
||||
wint_t wc;
|
||||
wchar_t wc;
|
||||
_IO_FILE *fp;
|
||||
{
|
||||
CHECK_FILE (fp, WEOF);
|
||||
|
@ -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,
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user