aboutsummaryrefslogtreecommitdiff
path: root/ui/spice-input.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-09-09 19:11:45 +0200
committerLaurent Vivier <laurent@vivier.eu>2020-09-16 10:48:18 +0200
commitcf0560b9c16e0b0e37cc46c9cd5a57c4315b25db (patch)
tree6c8c9687a0eb9a703c084b00eeee62d990c9bd6d /ui/spice-input.c
parent0a7553725ed7ecda63a3463c49d7a86bfe871e58 (diff)
downloadqemu-cf0560b9c16e0b0e37cc46c9cd5a57c4315b25db.zip
qemu-cf0560b9c16e0b0e37cc46c9cd5a57c4315b25db.tar.gz
qemu-cf0560b9c16e0b0e37cc46c9cd5a57c4315b25db.tar.bz2
ui/spice-input: Remove superfluous forward declaration
We only need to forward-declare kbd_push_key() and kbd_get_leds() which are used in kbd_interface, not kbd_leds(). Remove this superfluous forward declaration. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <20200909171145.350360-1-f4bug@amsat.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'ui/spice-input.c')
-rw-r--r--ui/spice-input.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/spice-input.c b/ui/spice-input.c
index d5bba23..21990fa 100644
--- a/ui/spice-input.c
+++ b/ui/spice-input.c
@@ -36,7 +36,6 @@ typedef struct QemuSpiceKbd {
static void kbd_push_key(SpiceKbdInstance *sin, uint8_t frag);
static uint8_t kbd_get_leds(SpiceKbdInstance *sin);
-static void kbd_leds(void *opaque, int l);
static const SpiceKbdInterface kbd_interface = {
.base.type = SPICE_INTERFACE_KEYBOARD,