]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[build] Avoid sparse undeclared symbol warning for PROVIDE_SYMBOL()
authorMichael Brown <mcb30@ipxe.org>
Thu, 25 Apr 2013 14:14:59 +0000 (15:14 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 25 Apr 2013 14:14:59 +0000 (15:14 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/compiler.h

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