aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/sysemu/sysemu.h10
-rw-r--r--vl.c9
2 files changed, 9 insertions, 10 deletions
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h
index 7e9f93ebb1..618169c4d5 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 0d10ceb011..aaf9134f72 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;