]> git.proxmox.com Git - mirror_qemu.git/commitdiff
trace: Remove trace.h from console.h (less dependencies)
authorStefan Weil <sw@weilnetz.de>
Sun, 10 Nov 2013 13:20:16 +0000 (14:20 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 2 Dec 2013 17:02:00 +0000 (21:02 +0400)
This reduces the dependencies on trace.h.
Only two source files which need console.h also need trace.h.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/display/vmware_vga.c
include/ui/console.h
ui/console.c

index a6a8cdc2e18cd8f61052f5d76b7732aba5d3dbec..aba292ccde1630d89bec5042f13ea8bb7f6a5f6c 100644 (file)
@@ -23,6 +23,7 @@
  */
 #include "hw/hw.h"
 #include "hw/loader.h"
+#include "trace.h"
 #include "ui/console.h"
 #include "hw/pci/pci.h"
 
index 98edf413a6e8f9d687b1d4ac6c9ce0a4cd2e47aa..4156a876e1881ef1089b13070b816ad490d31d55 100644 (file)
@@ -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"
 
index 199ba69101d532c4a6658b5c3007d9c4caff1a30..61ed2190a3c084a6b3e4e189076c1ed34d04fa7e 100644 (file)
@@ -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