From: Eduardo Habkost Date: Tue, 19 Apr 2016 19:55:27 +0000 (-0300) Subject: vl: Move DisplayType typedef to vl.c X-Git-Tag: TizenStudio_2.0_p4.0~6^2~12^2~6^2~259^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0cb48c4678af6e1fedbb48c52e5baa01f7266f54;p=sdk%2Femulator%2Fqemu.git vl: Move DisplayType typedef to vl.c Now the type is only used inside vl.c and doesn't need to be in a header file. Signed-off-by: Eduardo Habkost --- diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h index 7e9f93e..618169c 100644 --- a/include/sysemu/sysemu.h +++ b/include/sysemu/sysemu.h @@ -131,16 +131,6 @@ void qemu_savevm_send_postcopy_ram_discard(QEMUFile *f, const char *name, int qemu_loadvm_state(QEMUFile *f); -typedef enum DisplayType -{ - DT_DEFAULT, - DT_CURSES, - DT_SDL, - DT_COCOA, - DT_GTK, - DT_NONE, -} DisplayType; - extern int autostart; typedef enum { diff --git a/vl.c b/vl.c index 0d10ceb..aaf9134 100644 --- a/vl.c +++ b/vl.c @@ -2077,6 +2077,15 @@ static void select_vgahw(const char *p) } } +typedef enum DisplayType { + DT_DEFAULT, + DT_CURSES, + DT_SDL, + DT_COCOA, + DT_GTK, + DT_NONE, +} DisplayType; + static DisplayType select_display(const char *p) { const char *opts;