[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 03/17] ui/spice-input: Remove superfluous forward declaration
From: |
Laurent Vivier |
Subject: |
[PULL 03/17] ui/spice-input: Remove superfluous forward declaration |
Date: |
Sat, 19 Sep 2020 20:44:37 +0200 |
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
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>
---
ui/spice-input.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/ui/spice-input.c b/ui/spice-input.c
index d5bba231c95c..21990fa9962b 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,
--
2.26.2
- [PULL 00/17] Trivial branch for 5.2 patches, Laurent Vivier, 2020/09/19
- [PULL 01/17] hw/gpio/max7310: Remove impossible check, Laurent Vivier, 2020/09/19
- [PULL 03/17] ui/spice-input: Remove superfluous forward declaration,
Laurent Vivier <=
- [PULL 02/17] hw/ppc/ppc4xx_pci: Replace magic value by the PCI_NUM_PINS definition, Laurent Vivier, 2020/09/19
- [PULL 04/17] manual: escape backslashes in "parsed-literal" blocks, Laurent Vivier, 2020/09/19
- [PULL 05/17] meson: remove empty else and duplicated gio deps, Laurent Vivier, 2020/09/19
- [PULL 06/17] hw/timer/hpet: Remove unused functions hpet_ram_readb, hpet_ram_readw, Laurent Vivier, 2020/09/19
- [PULL 08/17] scripts/git.orderfile: Display meson files along with buildsys ones, Laurent Vivier, 2020/09/19
- [PULL 07/17] hw/timer/hpet: Fix debug format strings, Laurent Vivier, 2020/09/19
- [PULL 12/17] scripts/: fix some comment spelling errors, Laurent Vivier, 2020/09/19
- [PULL 09/17] qemu/: fix some comment spelling errors, Laurent Vivier, 2020/09/19
- [PULL 16/17] qapi/: fix some comment spelling errors, Laurent Vivier, 2020/09/19
- [PULL 13/17] util/: fix some comment spelling errors, Laurent Vivier, 2020/09/19