提交 0cb48c46 编写于 作者: E Eduardo Habkost

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: NEduardo Habkost <ehabkost@redhat.com>
上级 d29345d0
......@@ -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 {
......
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册