diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-12-10 12:39:06 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-12-10 12:39:06 +0300 |
commit | 2d48118f118d358a86433c52b9909ddc1de18283 (patch) | |
tree | ae736439ac0810c611be00e62852191922aab20d /newlib | |
parent | 8608e14a3b2339d104522902fb2425309aab5968 (diff) |
* libc/include/stdio_ext.h: Remove excess "inline".
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 4 | ||||
-rw-r--r-- | newlib/libc/include/stdio_ext.h | 14 |
2 files changed, 11 insertions, 7 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 2a209a7de..e05a04c7c 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,7 @@ +2014-12-04 Corinna Vinschen <vinschen@redhat.com> + + * libc/include/stdio_ext.h: Remove excess "inline". + 2014-12-10 Richard Earnshaw <rearnsha@arm.com> * libc/machine/aarch64/strchrnul.S (vrepmask): Use a call-clobbered diff --git a/newlib/libc/include/stdio_ext.h b/newlib/libc/include/stdio_ext.h index a830c8815..0c9ddadaf 100644 --- a/newlib/libc/include/stdio_ext.h +++ b/newlib/libc/include/stdio_ext.h @@ -25,25 +25,25 @@ void _EXFUN(__fpurge,(FILE *)); #ifdef __GNUC__ -_ELIDABLE_INLINE inline size_t +_ELIDABLE_INLINE size_t __fbufsize (FILE *__fp) { return (size_t) __fp->_bf._size; } -_ELIDABLE_INLINE inline int +_ELIDABLE_INLINE int __freading (FILE *__fp) { return (__fp->_flags & __SRD) != 0; } -_ELIDABLE_INLINE inline int +_ELIDABLE_INLINE int __fwriting (FILE *__fp) { return (__fp->_flags & __SWR) != 0; } -_ELIDABLE_INLINE inline int +_ELIDABLE_INLINE int __freadable (FILE *__fp) { return (__fp->_flags & (__SRD | __SRW)) != 0; } -_ELIDABLE_INLINE inline int +_ELIDABLE_INLINE int __fwriteable (FILE *__fp) { return (__fp->_flags & (__SWR | __SRW)) != 0; } -_ELIDABLE_INLINE inline int +_ELIDABLE_INLINE int __flbf (FILE *__fp) { return (__fp->_flags & __SLBF) != 0; } -_ELIDABLE_INLINE inline size_t +_ELIDABLE_INLINE size_t __fpending (FILE *__fp) { return __fp->_p - __fp->_bf._base; } #else |