mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
d29345d011
commit
0cb48c4678
2 changed files with 9 additions and 10 deletions
|
@ -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 {
|
||||
|
|
9
vl.c
9
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue