aboutsummaryrefslogtreecommitdiff
path: root/ui/input.c
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2017-09-29 11:12:01 +0100
committerGerd Hoffmann <kraxel@redhat.com>2017-10-16 14:50:54 +0200
commit3ad35e7a9bf98da8f2f6fb3335bc57bce70e3767 (patch)
tree05aca73b0706e266203492049a7898bac3101743 /ui/input.c
parentaf07e5ff02ae6d4258fc5331007811d0b1c4d35a (diff)
downloadqemu-3ad35e7a9bf98da8f2f6fb3335bc57bce70e3767.zip
qemu-3ad35e7a9bf98da8f2f6fb3335bc57bce70e3767.tar.gz
qemu-3ad35e7a9bf98da8f2f6fb3335bc57bce70e3767.tar.bz2
ui: don't export qemu_input_event_new_key
All public code should use qemu_input_event_send_key* functions instead of creating an event directly. Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Message-id: 20170929101201.21039-7-berrange@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/input.c')
-rw-r--r--ui/input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/input.c b/ui/input.c
index 4b241aa..290b473 100644
--- a/ui/input.c
+++ b/ui/input.c
@@ -386,7 +386,7 @@ void qemu_input_event_sync(void)
replay_input_sync_event();
}
-InputEvent *qemu_input_event_new_key(KeyValue *key, bool down)
+static InputEvent *qemu_input_event_new_key(KeyValue *key, bool down)
{
InputEvent *evt = g_new0(InputEvent, 1);
evt->u.key.data = g_new0(InputKeyEvent, 1);