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.
This commit is contained in:
parent
0463fc624c
commit
d74c61c2be
|
@ -1,3 +1,8 @@
|
||||||
|
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.
|
||||||
|
|
||||||
2009-04-03 Ken Werner <ken.werner@de.ibm.com>
|
2009-04-03 Ken Werner <ken.werner@de.ibm.com>
|
||||||
|
|
||||||
* libc/machine/spu/mmap_ea.c (mmap_ea): Check length argument.
|
* libc/machine/spu/mmap_ea.c (mmap_ea): Check length argument.
|
||||||
|
|
|
@ -612,6 +612,8 @@ FILE *_EXFUN(_fopencookie_r,(struct _reent *, void *__cookie,
|
||||||
#define _ELIDABLE_INLINE __inline__
|
#define _ELIDABLE_INLINE __inline__
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
_ELIDABLE_INLINE int __sgetc_r(struct _reent *__ptr, FILE *__p);
|
||||||
|
|
||||||
_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);
|
int __c = __sgetc_raw_r(__ptr, __p);
|
||||||
|
|
Loading…
Reference in New Issue