diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2018-02-02 12:10:18 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2018-02-20 12:12:04 +0100 |
commit | 14f130fad872f7accef77925288d730ecadded5d (patch) | |
tree | afb2357c233de7cd2086a96b43b17f3805fd64f4 /include | |
parent | 0d2dd9f0096327831121e2e4b75249b551f8d8ef (diff) | |
download | qemu-14f130fad872f7accef77925288d730ecadded5d.zip qemu-14f130fad872f7accef77925288d730ecadded5d.tar.gz qemu-14f130fad872f7accef77925288d730ecadded5d.tar.bz2 |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/ui/console.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ui/console.h b/include/ui/console.h index 183d9f2..65ed6dd 100644 --- a/include/ui/console.h +++ b/include/ui/console.h @@ -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"); |