Commit 8ead6018 authored by Stefan Weil's avatar Stefan Weil Committed by Michael Tokarev
Browse files

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: default avatarStefan Weil <sw@weilnetz.de>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent c5d3c498
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
#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 }