stdio.h: change fflush() from "extern inline" to "static inline"
authorH. Peter Anvin <hpa@zytor.com>
Tue, 12 Aug 2008 18:20:34 +0000 (11:20 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Tue, 12 Aug 2008 18:20:34 +0000 (11:20 -0700)
When compiling with -std=gnu99, apparently gcc doesn't like "extern
inline" anymore.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
com32/include/stdio.h

index 0175654..39d2797 100644 (file)
@@ -99,7 +99,7 @@ __extern int asprintf(char **, const char *, ...);
 __extern int vasprintf(char **, const char *, va_list);
 
 /* No buffering, so no flushing needed */
-extern __inline__ int
+static __inline__ int
 fflush(FILE *__f)
 {
   (void)__f;