Skip to content

Commit

Permalink
trace: Remove trace.h from console.h (less dependencies)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stweil authored and Michael Tokarev committed Dec 2, 2013
1 parent 7dc65c0 commit ac86048
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions hw/display/vmware_vga.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*/
#include "hw/hw.h"
#include "hw/loader.h"
#include "trace.h"
#include "ui/console.h"
#include "hw/pci/pci.h"

Expand Down
1 change: 0 additions & 1 deletion include/ui/console.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
1 change: 1 addition & 0 deletions ui/console.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac86048

Please sign in to comment.