diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2009-04-03 22:46:15 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2009-04-03 22:46:15 +0000 |
commit | d74c61c2be2153174cfbcafa451e79b3ca51153f (patch) | |
tree | 833944e64ac627459e67a0997b267b218a9b0cbe /newlib/libc | |
parent | 0463fc624cb42dd2b766ea02b65a62abbf0a59ad (diff) | |
download | cygnal-d74c61c2be2153174cfbcafa451e79b3ca51153f.tar.gz cygnal-d74c61c2be2153174cfbcafa451e79b3ca51153f.tar.bz2 cygnal-d74c61c2be2153174cfbcafa451e79b3ca51153f.zip |
2009-04-03 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
* libc/include/stdio.h [__SCLE] (__sgetc_r): Prototype before define
to avoid a warning with -Wmissing-prototypes.
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/include/stdio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/include/stdio.h b/newlib/libc/include/stdio.h index 28e590cfc..e5aac375e 100644 --- a/newlib/libc/include/stdio.h +++ b/newlib/libc/include/stdio.h @@ -612,6 +612,8 @@ FILE *_EXFUN(_fopencookie_r,(struct _reent *, void *__cookie, #define _ELIDABLE_INLINE __inline__ #endif +_ELIDABLE_INLINE int __sgetc_r(struct _reent *__ptr, FILE *__p); + _ELIDABLE_INLINE int __sgetc_r(struct _reent *__ptr, FILE *__p) { int __c = __sgetc_raw_r(__ptr, __p); |