summaryrefslogtreecommitdiff
path: root/gdbstub.c
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
commit27e677c0bbaddb4d59e5a3cb57a82c9ffee5564a (patch)
tree3fafeb29affbd6fbde420990459c28aea27e9cbe /gdbstub.c
parent94010c90ac62afe5a21725392ec5308d1e11153a (diff)
downloadqemu-27e677c0bbaddb4d59e5a3cb57a82c9ffee5564a.tar.gz
qemu-27e677c0bbaddb4d59e5a3cb57a82c9ffee5564a.tar.bz2
qemu-27e677c0bbaddb4d59e5a3cb57a82c9ffee5564a.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.c')
-rw-r--r--gdbstub.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdbstub.c b/gdbstub.c
index 2b03ef2aa0..0aa081b13b 100644
--- a/gdbstub.c
+++ b/gdbstub.c
@@ -1504,7 +1504,6 @@ static int memtox(char *buf, const char *mem, int len)
static const char *get_feature_xml(const char *p, const char **newp)
{
- extern const char *const xml_builtin[][2];
size_t len;
int i;
const char *name;