From 3ad35e7a9bf98da8f2f6fb3335bc57bce70e3767 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Fri, 29 Sep 2017 11:12:01 +0100 Subject: 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 Message-id: 20170929101201.21039-7-berrange@redhat.com Signed-off-by: Gerd Hoffmann --- ui/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/input.c') diff --git a/ui/input.c b/ui/input.c index 4b241aa823..290b47354a 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); -- cgit v1.2.1