summary refs log tree commit diff stats
path: root/include/ui/console.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2023-08-30 13:38:18 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-09-04 14:57:44 +0400
commit9db018ac56119ee8e0a87a1a340276e4c8d86392 (patch)
tree37f7b15625b946966332d6c8ea515b9f64bf24a1 /include/ui/console.h
parent32aa1f8dee3b2e8a4606bc2836a022f1ff5e7f0c (diff)
downloadfocaccia-qemu-9db018ac56119ee8e0a87a1a340276e4c8d86392.tar.gz
focaccia-qemu-9db018ac56119ee8e0a87a1a340276e4c8d86392.zip
ui/vc: change the argument for QemuTextConsole
Those functions are specifc to text/vc console, make that explicit from
the argument type.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20230830093843.3531473-45-marcandre.lureau@redhat.com>
Diffstat (limited to 'include/ui/console.h')
-rw-r--r--include/ui/console.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ui/console.h b/include/ui/console.h
index 91d8bbc9dc..1ccd432b4d 100644
--- a/include/ui/console.h
+++ b/include/ui/console.h
@@ -112,9 +112,9 @@ bool qemu_mouse_set(int index, Error **errp);
 #define QEMU_KEY_CTRL_PAGEUP     0xe406
 #define QEMU_KEY_CTRL_PAGEDOWN   0xe407
 
-void kbd_put_keysym_console(QemuConsole *s, int keysym);
-bool kbd_put_qcode_console(QemuConsole *s, int qcode, bool ctrl);
-void kbd_put_string_console(QemuConsole *s, const char *str, int len);
+void kbd_put_keysym_console(QemuTextConsole *s, int keysym);
+bool kbd_put_qcode_console(QemuTextConsole *s, int qcode, bool ctrl);
+void kbd_put_string_console(QemuTextConsole *s, const char *str, int len);
 void kbd_put_keysym(int keysym);
 
 /* Touch devices */