2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-11-26 03:09:12 +00:00

[build] Avoid sparse undeclared symbol warning for PROVIDE_SYMBOL()

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2013-04-25 15:14:59 +01:00
parent 39ab88ac09
commit eaa0f47dc2

View File

@ -64,6 +64,7 @@
.comm _sym, 0
#else /* ASSEMBLY */
#define PROVIDE_SYMBOL( _sym ) \
extern char _sym[]; \
char _sym[0]
#endif /* ASSEMBLY */