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/include/stdio.h | |
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/include/stdio.h')
-rw-r--r-- | newlib/libc/include/stdio.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/newlib/libc/include/stdio.h b/newlib/libc/include/stdio.h index 767438fac..ccc048dec 100644 --- a/newlib/libc/include/stdio.h +++ b/newlib/libc/include/stdio.h @@ -222,9 +222,13 @@ FILE * _EXFUN(popen, (const char *, const char *)); int _EXFUN(putw, (int, FILE *)); void _EXFUN(setbuffer, (FILE *, char *, int)); int _EXFUN(setlinebuf, (FILE *)); -void _EXFUN(flockfile, (FILE *)); -int _EXFUN(ftrylockfile, (FILE *)); -void _EXFUN(funlockfile, (FILE *)); +int _EXFUN(getc_unlocked, (FILE *)); +int _EXFUN(getchar_unlocked, (void)); +void _EXFUN(flockfile, (FILE *)); +int _EXFUN(ftrylockfile, (FILE *)); +void _EXFUN(funlockfile, (FILE *)); +int _EXFUN(putc_unlocked, (int, FILE *)); +int _EXFUN(putchar_unlocked, (int)); #endif /* |