diff options
author | Akihiko Odaki | 2022-02-26 12:55:14 +0100 |
---|---|---|
committer | Gerd Hoffmann | 2022-06-14 10:34:37 +0200 |
commit | 362239c05f28e8185d00d66884729a726ec4d226 (patch) | |
tree | 6b526009ad457540eb5d68502476f5cd16c680c8 /include/ui | |
parent | virtio-gpu: update done only on the scanout associated with rect (diff) | |
download | qemu-362239c05f28e8185d00d66884729a726ec4d226.tar.gz qemu-362239c05f28e8185d00d66884729a726ec4d226.tar.xz qemu-362239c05f28e8185d00d66884729a726ec4d226.zip |
ui/console: Do not return a value with ui_info
The returned value is not used and misleading.
Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Message-Id: <20220226115516.59830-2-akihiko.odaki@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui')
-rw-r--r-- | include/ui/console.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ui/console.h b/include/ui/console.h index c44b28a972..642d6f5248 100644 --- a/include/ui/console.h +++ b/include/ui/console.h @@ -432,7 +432,7 @@ typedef struct GraphicHwOps { bool gfx_update_async; /* if true, calls graphic_hw_update_done() */ void (*text_update)(void *opaque, console_ch_t *text); void (*update_interval)(void *opaque, uint64_t interval); - int (*ui_info)(void *opaque, uint32_t head, QemuUIInfo *info); + void (*ui_info)(void *opaque, uint32_t head, QemuUIInfo *info); void (*gl_block)(void *opaque, bool block); } GraphicHwOps; |