Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Fitzsimmons <fitzsim@redhat.com>2002-05-08 23:11:22 +0400
committerThomas Fitzsimmons <fitzsim@redhat.com>2002-05-08 23:11:22 +0400
commit76490806069d5f64a9060aff78484ec5f6b82061 (patch)
tree4d6b79b2c6d7a53afdd52a6f9986146c4bb6161a /newlib/libc/stdio/putchar.c
parent96bff22c5dd2df267b04aad3719950420eac0b43 (diff)
* 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.c4
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