From 27be55872dd747c733a42a3d90864d9f59272d26 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 13 Mar 2013 12:25:25 +0100 Subject: console: make DisplayState private to console.c With gui_* being moved to console.c nobody outside console.c needs access to DisplayState fields any more. Make the struct private. Signed-off-by: Gerd Hoffmann --- ui/console.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'ui/console.c') diff --git a/ui/console.c b/ui/console.c index b618221151..07fba67f79 100644 --- a/ui/console.c +++ b/ui/console.c @@ -157,6 +157,14 @@ struct QemuConsole { QEMUTimer *kbd_timer; }; +struct DisplayState { + struct QEMUTimer *gui_timer; + bool have_gfx; + bool have_text; + + QLIST_HEAD(, DisplayChangeListener) listeners; +}; + static DisplayState *display_state; static QemuConsole *active_console; static QemuConsole *consoles[MAX_CONSOLES]; -- cgit v1.2.1