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.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdbstub.h') diff --git a/gdbstub.h b/gdbstub.h index 219abda..ce5fdcc 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 -- cgit v1.1