diff options
author | Stefan Weil | 2022-11-03 09:38:15 +0100 |
---|---|---|
committer | Paolo Bonzini | 2022-11-06 09:48:42 +0100 |
commit | efa3901e14a6428ef775332a6df958fb5b27af32 (patch) | |
tree | 04318db00dc187171a310f2e5f361e02e782c44c /scripts | |
parent | meson: avoid unused arguments of main() in compiler tests (diff) | |
download | qemu-efa3901e14a6428ef775332a6df958fb5b27af32.tar.gz qemu-efa3901e14a6428ef775332a6df958fb5b27af32.tar.xz qemu-efa3901e14a6428ef775332a6df958fb5b27af32.zip |
Add missing include statement for global xml_builtin
This fixes some compiler warnings with compiler flag
-Wmissing-variable-declarations (tested with clang):
aarch64_be-linux-user-gdbstub-xml.c:564:19: warning: no previous extern declaration for non-static variable 'xml_builtin' [-Wmissing-variable-declarations]
aarch64-linux-user-gdbstub-xml.c:564:19: warning: no previous extern declaration for non-static variable 'xml_builtin' [-Wmissing-variable-declarations]
aarch64-softmmu-gdbstub-xml.c:1763:19: warning: no previous extern declaration for non-static variable 'xml_builtin' [-Wmissing-variable-declarations]
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/feature_to_c.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/feature_to_c.sh b/scripts/feature_to_c.sh index b1169899c1..c1f67c8f6a 100644 --- a/scripts/feature_to_c.sh +++ b/scripts/feature_to_c.sh @@ -56,6 +56,7 @@ for input; do done echo +echo '#include "exec/gdbstub.h"' echo "const char *const xml_builtin[][2] = {" for input; do |