From 0b65b9e105ce5bc29d9412e0df476fd0cef3b8e2 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sat, 18 Sep 2010 07:02:16 +0000 Subject: 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 --- gdbstub.c | 1 - 1 file changed, 1 deletion(-) (limited to 'gdbstub.c') diff --git a/gdbstub.c b/gdbstub.c index 2b03ef2..0aa081b 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; -- cgit v1.1