[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ui/spice-input: Remove superfluous forward declaration
From: |
Laurent Vivier |
Subject: |
Re: [PATCH] ui/spice-input: Remove superfluous forward declaration |
Date: |
Wed, 16 Sep 2020 10:48:27 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
Le 09/09/2020 à 19:11, Philippe Mathieu-Daudé a écrit :
> 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>
> ---
> ui/spice-input.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/ui/spice-input.c b/ui/spice-input.c
> index d5bba231c95..21990fa9962 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,
>
Applied to my trivial-patches branch.
Thanks,
Laurent