mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
curses: use DisplayOptions
Switch curses ui to use qapi DisplayOptions for configuration. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 20180202111022.19269-9-kraxel@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
0d2dd9f009
commit
14f130fad8
4 changed files with 9 additions and 6 deletions
|
@ -471,9 +471,9 @@ int vnc_init_func(void *opaque, QemuOpts *opts, Error **errp);
|
|||
|
||||
/* curses.c */
|
||||
#ifdef CONFIG_CURSES
|
||||
void curses_display_init(DisplayState *ds, int full_screen);
|
||||
void curses_display_init(DisplayState *ds, DisplayOptions *opts);
|
||||
#else
|
||||
static inline void curses_display_init(DisplayState *ds, int full_screen)
|
||||
static inline void curses_display_init(DisplayState *ds, DisplayOptions *opts)
|
||||
{
|
||||
/* This must never be called if CONFIG_CURSES is disabled */
|
||||
error_report("curses support is disabled");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue