1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* libio/Makefile (routines): Add putwchar and putwchar_u.

	* libio/putwchar.c: Include <wchar.h> instead of "stdio.h".
	* libio/putwchar_u.c: Likewise.  Use _IO_stdout instead of
	stdout.  Fix parameter name.

	* libio/getchar.c: Consistently use _IO_stdin instead of stdin.
	* libio/getchar_u.c: Likewise.

	* libio/putchar_u.c: Use _IO_stdout instead of stdout.

1999-06-21  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* include/features.h (__GNUC_PREREQ): Don't generate `defined' via
	macro expansion---it's undefined.  Properly parenthesize
	substituted parameters.
	(__GLIBC_PREREQ): Likewise.
This commit is contained in:
Ulrich Drepper
1999-06-21 16:46:16 +00:00
parent ae8b36f7ec
commit f042f18f93
8 changed files with 44 additions and 17 deletions

View File

@ -17,12 +17,12 @@
Boston, MA 02111-1307, USA. */
#include "libioP.h"
#include "stdio.h"
#include <wchar.h>
wint_t
putwchar_unlocked (c)
wchar_t c;
putwchar_unlocked (wc)
wchar_t wc;
{
CHECK_FILE (stdout, WEOF);
return _IO_putwc_unlocked (wc, stdout);
CHECK_FILE (_IO_stdout, WEOF);
return _IO_putwc_unlocked (wc, _IO_stdout);
}