From 76490806069d5f64a9060aff78484ec5f6b82061 Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Wed, 8 May 2002 19:11:22 +0000 Subject: * 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. --- newlib/libc/stdio/putchar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'newlib/libc/stdio/putchar.c') 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 @@ -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 -- cgit v1.2.3