qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 41/52] gdbstub: remove unnecessary includes from gdbs


From: Paolo Bonzini
Subject: [Qemu-devel] [PULL 41/52] gdbstub: remove unnecessary includes from gdbstub-xml.c
Date: Thu, 19 May 2016 13:18:35 +0200

gdbstub-xml.c defines a bunch of arrays of strings; there is no
need to include anything.  Keep osdep.h for consistency, but remove
the rest.

Signed-off-by: Paolo Bonzini <address@hidden>
---
 scripts/feature_to_c.sh | 2 --
 1 file changed, 2 deletions(-)

diff --git a/scripts/feature_to_c.sh b/scripts/feature_to_c.sh
index fb1f336..e4387b7 100644
--- a/scripts/feature_to_c.sh
+++ b/scripts/feature_to_c.sh
@@ -37,8 +37,6 @@ for input; do
 
   ${AWK:-awk} 'BEGIN { n = 0
       printf "#include \"qemu/osdep.h\"\n"
-      printf "#include \"qemu-common.h\"\n"
-      printf "#include \"exec/gdbstub.h\"\n"
       print "static const char '$arrayname'[] = {"
       for (i = 0; i < 255; i++)
         _ord_[sprintf("%c", i)] = i
-- 
1.8.3.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]