`inline' is not present in gcc when -ansi is given; use __inline instead.
This commit is contained in:
parent
dc3b547a84
commit
09cde31707
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue