From: Michael Brown Date: Thu, 25 Apr 2013 14:14:59 +0000 (+0100) Subject: [build] Avoid sparse undeclared symbol warning for PROVIDE_SYMBOL() X-Git-Tag: v1.20.1~1530 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eaa0f47dc2d59a09c764773e44b6415fc1f507af;p=thirdparty%2Fipxe.git [build] Avoid sparse undeclared symbol warning for PROVIDE_SYMBOL() Signed-off-by: Michael Brown --- diff --git a/src/include/compiler.h b/src/include/compiler.h index ed9af237d..e55592456 100644 --- a/src/include/compiler.h +++ b/src/include/compiler.h @@ -64,6 +64,7 @@ .comm _sym, 0 #else /* ASSEMBLY */ #define PROVIDE_SYMBOL( _sym ) \ + extern char _sym[]; \ char _sym[0] #endif /* ASSEMBLY */