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:
parent
c5d3c49896
commit
8ead601883
@ -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 }
|
||||
|
Loading…
Reference in New Issue
Block a user