mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-06 20:58:33 +01: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
7 changed files with 7 additions and 7 deletions
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
wint_t
|
wint_t
|
||||||
fputwc (wc, fp)
|
fputwc (wc, fp)
|
||||||
wint_t wc;
|
wchar_t wc;
|
||||||
_IO_FILE *fp;
|
_IO_FILE *fp;
|
||||||
{
|
{
|
||||||
int result;
|
int result;
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
wint_t
|
wint_t
|
||||||
fputwc_unlocked (wc, fp)
|
fputwc_unlocked (wc, fp)
|
||||||
wint_t wc;
|
wchar_t wc;
|
||||||
_IO_FILE *fp;
|
_IO_FILE *fp;
|
||||||
{
|
{
|
||||||
CHECK_FILE (fp, EOF);
|
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_getc __P ((_IO_FILE *__fp));
|
||||||
extern int _IO_putc __P ((int __c, _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_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_feof __P ((_IO_FILE *__fp));
|
||||||
extern int _IO_ferror __P ((_IO_FILE *__fp));
|
extern int _IO_ferror __P ((_IO_FILE *__fp));
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
wint_t
|
wint_t
|
||||||
putwc (wc, fp)
|
putwc (wc, fp)
|
||||||
wint_t wc;
|
wchar_t wc;
|
||||||
_IO_FILE *fp;
|
_IO_FILE *fp;
|
||||||
{
|
{
|
||||||
wint_t result;
|
wint_t result;
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
wint_t
|
wint_t
|
||||||
putwc_unlocked (wc, fp)
|
putwc_unlocked (wc, fp)
|
||||||
wint_t wc;
|
wchar_t wc;
|
||||||
_IO_FILE *fp;
|
_IO_FILE *fp;
|
||||||
{
|
{
|
||||||
CHECK_FILE (fp, WEOF);
|
CHECK_FILE (fp, WEOF);
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
wint_t
|
wint_t
|
||||||
putwchar (wc)
|
putwchar (wc)
|
||||||
wint_t wc;
|
wchar_t wc;
|
||||||
{
|
{
|
||||||
wint_t result;
|
wint_t result;
|
||||||
_IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile,
|
_IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile,
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
wint_t
|
wint_t
|
||||||
putwchar_unlocked (c)
|
putwchar_unlocked (c)
|
||||||
wint_t c;
|
wchar_t c;
|
||||||
{
|
{
|
||||||
CHECK_FILE (stdout, WEOF);
|
CHECK_FILE (stdout, WEOF);
|
||||||
return _IO_putwc_unlocked (wc, stdout);
|
return _IO_putwc_unlocked (wc, stdout);
|
||||||
|
|
Loading…
Add table
Reference in a new issue