From cab26c384c492eba1cf6bce985df67de5ed48d37 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 12 Aug 2008 11:20:34 -0700 Subject: [PATCH] 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 --- com32/include/stdio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com32/include/stdio.h b/com32/include/stdio.h index 0175654..39d2797 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; -- 2.7.4