[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 01/14] trace: Remove trace.h from console.h (less dep
From: |
Michael Tokarev |
Subject: |
[Qemu-devel] [PULL 01/14] trace: Remove trace.h from console.h (less dependencies) |
Date: |
Fri, 6 Dec 2013 23:15:28 +0400 |
From: Stefan Weil <address@hidden>
This reduces the dependencies on trace.h.
Only two source files which need console.h also need trace.h.
Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
hw/display/vmware_vga.c | 1 +
include/ui/console.h | 1 -
ui/console.c | 1 +
3 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/display/vmware_vga.c b/hw/display/vmware_vga.c
index a6a8cdc..aba292c 100644
--- a/hw/display/vmware_vga.c
+++ b/hw/display/vmware_vga.c
@@ -23,6 +23,7 @@
*/
#include "hw/hw.h"
#include "hw/loader.h"
+#include "trace.h"
#include "ui/console.h"
#include "hw/pci/pci.h"
diff --git a/include/ui/console.h b/include/ui/console.h
index 98edf41..4156a87 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -6,7 +6,6 @@
#include "qapi/qmp/qdict.h"
#include "qemu/notify.h"
#include "monitor/monitor.h"
-#include "trace.h"
#include "qapi-types.h"
#include "qapi/error.h"
diff --git a/ui/console.c b/ui/console.c
index 199ba69..61ed219 100644
--- a/ui/console.c
+++ b/ui/console.c
@@ -27,6 +27,7 @@
#include "qemu/timer.h"
#include "qmp-commands.h"
#include "sysemu/char.h"
+#include "trace.h"
//#define DEBUG_CONSOLE
#define DEFAULT_BACKSCROLL 512
--
1.7.10.4
- [Qemu-devel] [PULL 00/14] Trivial patches for 2013-12-06, Michael Tokarev, 2013/12/06
- [Qemu-devel] [PULL 02/14] trace: Remove trace.h from hw/usb/hcd-ehci.h (less dependencies), Michael Tokarev, 2013/12/06
- [Qemu-devel] [PULL 03/14] console: Replace conditional debug messages by trace methods, Michael Tokarev, 2013/12/06
- [Qemu-devel] [PULL 05/14] .gitignore: Ignore config.status, Michael Tokarev, 2013/12/06
- [Qemu-devel] [PULL 04/14] gtk: Replace conditional debug messages by trace methods, Michael Tokarev, 2013/12/06
- [Qemu-devel] [PULL 01/14] trace: Remove trace.h from console.h (less dependencies),
Michael Tokarev <=
- [Qemu-devel] [PULL 12/14] Don't crash on keyboard input with no handler, Michael Tokarev, 2013/12/06
- [Qemu-devel] [PULL 10/14] libcacard/cac: Remove unused statement (value stored is never read), Michael Tokarev, 2013/12/06
- [Qemu-devel] [PULL 14/14] eeprom93xx: fix coding style, Michael Tokarev, 2013/12/06
- [Qemu-devel] [PULL 08/14] misc: Replace 'struct QEMUTimer' by 'QEMUTimer', Michael Tokarev, 2013/12/06
- [Qemu-devel] [PULL 11/14] libcacard/vcard_emul_nss: Remove unused statement (value stored is never read), Michael Tokarev, 2013/12/06
- [Qemu-devel] [PULL 13/14] hw/ppc/mac.h: remove unused BIOS_FILENAME definition, Michael Tokarev, 2013/12/06
- [Qemu-devel] [PULL 07/14] qobject: Fix compiler warning (missing gnu_printf format attribute), Michael Tokarev, 2013/12/06
- [Qemu-devel] [PULL 06/14] acpi-build: Fix compiler warning (missing gnu_printf format attribute), Michael Tokarev, 2013/12/06
- [Qemu-devel] [PULL 09/14] virtio-net: fix the indent, Michael Tokarev, 2013/12/06