diff options
author | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-05-08 19:11:22 +0000 |
---|---|---|
committer | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-05-08 19:11:22 +0000 |
commit | 76490806069d5f64a9060aff78484ec5f6b82061 (patch) | |
tree | 4d6b79b2c6d7a53afdd52a6f9986146c4bb6161a /newlib/libc/stdio/putchar.c | |
parent | 96bff22c5dd2df267b04aad3719950420eac0b43 (diff) | |
download | cygnal-76490806069d5f64a9060aff78484ec5f6b82061.tar.gz cygnal-76490806069d5f64a9060aff78484ec5f6b82061.tar.bz2 cygnal-76490806069d5f64a9060aff78484ec5f6b82061.zip |
* libc/stdio/getc_u.c: New file.
* libc/stdio/getchar_u.c: New file.
* libc/stdio/putc_u.c: New file.
* libc/stdio/putchar_u.c: New file.
* libc/include/stdio.h: Add declarations for getc_unlocked,
getchar_unlocked, putc_unlocked and putchar_unlocked.
* libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
(CHEWOUT_FILES): Add new files' .def's.
* libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
Diffstat (limited to 'newlib/libc/stdio/putchar.c')
-rw-r--r-- | newlib/libc/stdio/putchar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/libc/stdio/putchar.c b/newlib/libc/stdio/putchar.c index b725a496d..ff207f3d0 100644 --- a/newlib/libc/stdio/putchar.c +++ b/newlib/libc/stdio/putchar.c @@ -65,7 +65,7 @@ static char sccsid[] = "%W% (Berkeley) %G%"; #endif /* LIBC_SCCS and not lint */ /* - * A subroutine version of the macro putchar + * A subroutine version of the macro putchar. */ #include <stdio.h> @@ -80,7 +80,7 @@ _putchar_r (ptr, c) int c; { _REENT_SMALL_CHECK_INIT(_stdout_r (ptr)); - return __sputc (c, _stdout_r (ptr)); + return putc (c, _stdout_r (ptr)); } #ifndef _REENT_ONLY |