aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2016-04-19 16:55:27 -0300
committerEduardo Habkost <ehabkost@redhat.com>2016-05-20 14:28:54 -0300
commit0cb48c4678af6e1fedbb48c52e5baa01f7266f54 (patch)
treedb876acabf089e903809c0483b0882202f1f2db7 /vl.c
parentd29345d011114b90f0a6871fb0d46a7741c6c33c (diff)
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 <ehabkost@redhat.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c9
1 files changed, 9 insertions, 0 deletions
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;