From 09cde31707d527052a2e1951fda239dd8a7ea433 Mon Sep 17 00:00:00 2001 From: sef Date: Sat, 17 Apr 1993 02:13:22 +0000 Subject: [PATCH] `inline' is not present in gcc when -ansi is given; use __inline instead. --- include/stdio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/stdio.h b/include/stdio.h index 5489652a63ba..3c466fe544b6 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -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