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 <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
Stefan Weil 2014-02-20 20:08:31 +01:00 committed by Michael Tokarev
parent c5d3c49896
commit 8ead601883

View File

@ -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] = { const char *const xml_builtin[][2] = {
{ NULL, NULL } { NULL, NULL }