diff options
| author | Michael Brown | 2013-04-25 16:14:59 +0200 |
|---|---|---|
| committer | Michael Brown | 2013-04-25 16:14:59 +0200 |
| commit | eaa0f47dc2d59a09c764773e44b6415fc1f507af (patch) | |
| tree | 9952344ce8d2e6e2444a30befd18d6c6f34fe613 | |
| parent | [build] Allow sparse to be invoked via "make C=1" (diff) | |
| download | ipxe-eaa0f47dc2d59a09c764773e44b6415fc1f507af.tar.gz ipxe-eaa0f47dc2d59a09c764773e44b6415fc1f507af.tar.xz ipxe-eaa0f47dc2d59a09c764773e44b6415fc1f507af.zip | |
[build] Avoid sparse undeclared symbol warning for PROVIDE_SYMBOL()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
| -rw-r--r-- | src/include/compiler.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |
