summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-08-12 11:20:34 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-08-12 11:20:34 -0700
commitcab26c384c492eba1cf6bce985df67de5ed48d37 (patch)
treeb187016ef8d7807a17cd4b41da02747bb8f1d2bd
parent83a94f669e1aa6c035e81374225bfaab9796d39e (diff)
downloadsyslinux-cab26c384c492eba1cf6bce985df67de5ed48d37.tar.gz
stdio.h: change fflush() from "extern inline" to "static inline"
When compiling with -std=gnu99, apparently gcc doesn't like "extern inline" anymore. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r--com32/include/stdio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/include/stdio.h b/com32/include/stdio.h
index 0175654d..39d27975 100644
--- a/com32/include/stdio.h
+++ b/com32/include/stdio.h
@@ -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;