summaryrefslogtreecommitdiff
path: root/gdbstub.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-09-18 07:02:16 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-09-18 07:02:16 +0000
commit0b65b9e105ce5bc29d9412e0df476fd0cef3b8e2 (patch)
tree3fafeb29affbd6fbde420990459c28aea27e9cbe /gdbstub.h
parent3ffd710e12ce64478abc027e92fe94e1089ac91c (diff)
downloadqemu-0b65b9e105ce5bc29d9412e0df476fd0cef3b8e2.tar.gz
qemu-0b65b9e105ce5bc29d9412e0df476fd0cef3b8e2.tar.bz2
qemu-0b65b9e105ce5bc29d9412e0df476fd0cef3b8e2.zip
Use gcc warning flag -Wnested-externs
If the compiler supports the warning flag -Wnested-externs, use it. Avoid the only warning by moving the declaration of xml_builtin to a more proper place. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'gdbstub.h')
-rw-r--r--gdbstub.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdbstub.h b/gdbstub.h
index 219abdab0e..ce5fdcc223 100644
--- a/gdbstub.h
+++ b/gdbstub.h
@@ -38,4 +38,7 @@ int gdbserver_start(int);
int gdbserver_start(const char *port);
#endif
+/* in gdbstub-xml.c, generated by feature_to_c.sh */
+extern const char *const xml_builtin[][2];
+
#endif