From: Stefan Weil Date: Thu, 20 Feb 2014 19:08:31 +0000 (+0100) Subject: stubs: Optimize dependencies for gdbstub.c X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~1022^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ead6018837f13f1ef4a40c3eb5054512c160577;p=sdk%2Femulator%2Fqemu.git stubs: Optimize dependencies for gdbstub.c It does not need qemu-common.h. Including exec/gdbstub.h fixes a warning from static code analyzers and avoids mismatching declarations for xml_builtin. Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev --- diff --git a/stubs/gdbstub.c b/stubs/gdbstub.c index c1dbfe7..f6a4553 100644 --- a/stubs/gdbstub.c +++ b/stubs/gdbstub.c @@ -1,4 +1,6 @@ -#include "qemu-common.h" +#include "stdbool.h" /* bool (in exec/gdbstub.h) */ +#include "stddef.h" /* NULL */ +#include "exec/gdbstub.h" /* xml_builtin */ const char *const xml_builtin[][2] = { { NULL, NULL }