Revert "tools/mksymtab.sh: Disable the mismatch warning of builtin declaration"
This reverts commit a6773a8412
.
Unnecessary after "Use -fno-builtin for SYMTABOBJ"
This commit is contained in:
parent
5ee2e6348f
commit
6a25898568
@ -57,11 +57,6 @@ echo "#include <nuttx/compiler.h>"
|
|||||||
echo "#include <nuttx/symtab.h>"
|
echo "#include <nuttx/symtab.h>"
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
echo "#if defined(__GNUC__) && !defined(__clang__)"
|
|
||||||
echo "# pragma GCC diagnostic ignored \"-Wbuiltin-declaration-mismatch\""
|
|
||||||
echo "#endif"
|
|
||||||
echo ""
|
|
||||||
|
|
||||||
for string in $varlist; do
|
for string in $varlist; do
|
||||||
var=`echo $string | sed -e "s/\"//g"`
|
var=`echo $string | sed -e "s/\"//g"`
|
||||||
echo "extern void *${var};"
|
echo "extern void *${var};"
|
||||||
|
Loading…
Reference in New Issue
Block a user