diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2004-05-03 17:27:56 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2004-05-03 17:27:56 +0000 |
commit | 20b0251ab3d62281dc4213a9a930883bcbf57cd5 (patch) | |
tree | f375be2cfd8f8538d0e608d18a7dd48ca8cfaecd /newlib/libc/include/stdio.h | |
parent | 1e98729b2a230b271b4a5f56f80ca56e32d790a7 (diff) | |
download | cygnal-20b0251ab3d62281dc4213a9a930883bcbf57cd5.tar.gz cygnal-20b0251ab3d62281dc4213a9a930883bcbf57cd5.tar.bz2 cygnal-20b0251ab3d62281dc4213a9a930883bcbf57cd5.zip |
2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* libc/include/stdio.h (_ungetc_r): New prototype.
* libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
(__submore): Add reentrant struct pointer argument.
(ungetc): Change to call _ungetc_r.
Diffstat (limited to 'newlib/libc/include/stdio.h')
-rw-r--r-- | newlib/libc/include/stdio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/include/stdio.h b/newlib/libc/include/stdio.h index 94e437d39..576de35dd 100644 --- a/newlib/libc/include/stdio.h +++ b/newlib/libc/include/stdio.h @@ -298,6 +298,7 @@ int _EXFUN(_sscanf_r, (struct _reent *, const char *, const char *, ...)); char * _EXFUN(_tempnam_r, (struct _reent *, const char *, const char *)); FILE * _EXFUN(_tmpfile_r, (struct _reent *)); char * _EXFUN(_tmpnam_r, (struct _reent *, char *)); +int _EXFUN(_ungetc_r, (struct _reent *, int, FILE *)); int _EXFUN(_vasprintf_r, (struct _reent *, char **, const char *, __VALIST)); int _EXFUN(_vfprintf_r, (struct _reent *, FILE *, const char *, __VALIST)); int _EXFUN(_vprintf_r, (struct _reent *, const char *, __VALIST)); |