Revert "tools/mkallsyms.sh: Disable the mismatch warning of builtin declaration"

This reverts commit 848d1ef0b7.

It doesn't make sense because the generated file just have names of
symbols as strings. Nothing to worry about builtins.
This commit is contained in:
YAMAMOTO Takashi 2022-05-12 14:14:54 +09:00 committed by Xiang Xiao
parent 5bcd1dbb64
commit 072c28fe8e
1 changed files with 0 additions and 4 deletions

View File

@ -50,10 +50,6 @@ fi
echo "#include <nuttx/compiler.h>"
echo "#include <nuttx/symtab.h>"
echo ""
echo "#if defined(__GNUC__) && !defined(__clang__)"
echo "# pragma GCC diagnostic ignored \"-Wbuiltin-declaration-mismatch\""
echo "#endif"
echo ""
echo "${CONST} int g_nallsyms = ${count} + 2;"
echo "${CONST} struct symtab_s g_allsyms[${count} + 2] = "
echo "{"