`inline' is not present in gcc when -ansi is given; use __inline instead.

This commit is contained in:
sef 1993-04-17 02:13:22 +00:00
parent a978d6900e
commit 7e852bb789
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ __END_DECLS
*/
#define __sgetc(p) (--(p)->_r < 0 ? __srget(p) : (int)(*(p)->_p++))
#if defined(__GNUC__) && defined(__STDC__)
static inline int __sputc(int _c, FILE *_p) {
static __inline int __sputc(int _c, FILE *_p) {
if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n'))
return (*_p->_p++ = _c);
else