From patchwork Wed Sep 9 17:11:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 1360827 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=amsat.org Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=nAqYIJkf; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BmpV21hLvz9sV5 for ; Thu, 10 Sep 2020 03:12:09 +1000 (AEST) Received: from localhost ([::1]:38738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kG3de-0008WB-1h for incoming@patchwork.ozlabs.org; Wed, 09 Sep 2020 13:12:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kG3dP-0008Vz-3x; Wed, 09 Sep 2020 13:11:51 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:44713) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kG3dN-0006cS-Po; Wed, 09 Sep 2020 13:11:50 -0400 Received: by mail-wr1-x443.google.com with SMTP id s12so3765254wrw.11; Wed, 09 Sep 2020 10:11:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d81tBxera59r+QBv4qfS3qn3lY3f1nlRZZ5taVnlkes=; b=nAqYIJkfiF8AVD3X8BLej5FUMz6pZxjwW2ZEThPpXszQdDUQn+wT3xhzu/9JfnQDb3 wTb27GDrSO/ibXHOiiwUAr9iK9OLP3Mz0ZwNM/nEQl0XzByfHcKvRoJ21BNWnwbLr6ut jiqz7mjIs6yDGgISJ1YQxbWXHInvri9bjz2x3tfgv6unjgX9v8g+VtQAsBJVmm/oj0Fk igBXntSwUs3B+Ynd5UZwczkAcX1RCtw6RHQst8Agr4cIGsTxWTOcYPTiFZviIHH+alFD ifAOkKOtnCz5OxH2jLWfrh2FkGx/IaeYByy9FnEx9EMT61yzodyFxNia/3frP+uBs1m3 DyEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=d81tBxera59r+QBv4qfS3qn3lY3f1nlRZZ5taVnlkes=; b=oCajWuuhU+PMMuppPZ4AO1QRSj1lnWbU+roxjYl+mzCJIaf5S8wEBdLK7jrTcWGS9k oqnkaGHDVm2tA3ZGHfSrFUt8F8GFGWN3YOINwQ/MsQ7qUy6PK5z2xjizB0rkvlf0d5lD JZDDgAx6NErWNNbk1Utl1eaYEUBm4BHSCiccl+Git5LJuKLsRs/JcNhz2E6kFsStcqwc ddfVKD6tmCt+rmWOgBoNthx4OyWhUH/gKv9hdRblxX8jYI+KuLStCk92WKmYNIihBvhJ gQZxFCtQxydHZNkIPpg6RHxxBACCLLt2YyLmZN0PCWywpf/21ZHtUCKJv78y3mlF0NAH wnqg== X-Gm-Message-State: AOAM530ahMFwV+ECncMzb73LuybPd/fNl33OXpIKGz0timBrrYxCRLug II3w7P10dGOlp1WaE6jmgRqMIuyYylo= X-Google-Smtp-Source: ABdhPJzPIWI4WvqcLJxrIKgOdVarzCFE0+Stx3UnV3N+WjtHcugkDRJc68R3PHgufgdJly0z7/9a3w== X-Received: by 2002:a5d:458a:: with SMTP id p10mr4837039wrq.282.1599671507754; Wed, 09 Sep 2020 10:11:47 -0700 (PDT) Received: from x1w.redhat.com (65.red-83-57-170.dynamicip.rima-tde.net. [83.57.170.65]) by smtp.gmail.com with ESMTPSA id m13sm4927224wrr.74.2020.09.09.10.11.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 10:11:47 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH] ui/spice-input: Remove superfluous forward declaration Date: Wed, 9 Sep 2020 19:11:45 +0200 Message-Id: <20200909171145.350360-1-f4bug@amsat.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::443; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-wr1-x443.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-trivial@nongnu.org, Gerd Hoffmann , =?utf-8?q?Ph?= =?utf-8?q?ilippe_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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é Reviewed-by: Laurent Vivier --- 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,