diff options
author | Michael Brown <mcb30@ipxe.org> | 2013-04-25 15:14:59 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2013-04-25 15:14:59 +0100 |
commit | eaa0f47dc2d59a09c764773e44b6415fc1f507af (patch) | |
tree | 9952344ce8d2e6e2444a30befd18d6c6f34fe613 /src/include/compiler.h | |
parent | 39ab88ac09e1fd2eb8f971df5d9f7c55b2c1eeb3 (diff) | |
download | ipxe-eaa0f47dc2d59a09c764773e44b6415fc1f507af.tar.gz |
[build] Avoid sparse undeclared symbol warning for PROVIDE_SYMBOL()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/compiler.h')
-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 */ |