From eaa0f47dc2d59a09c764773e44b6415fc1f507af Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 25 Apr 2013 15:14:59 +0100 Subject: [PATCH] [build] Avoid sparse undeclared symbol warning for PROVIDE_SYMBOL() Signed-off-by: Michael Brown --- src/include/compiler.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/compiler.h b/src/include/compiler.h index ed9af237..e5559245 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 */