From nobody Fri Jun 30 16:44:04 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qt1P06K3lz4kSVr; Fri, 30 Jun 2023 16:44:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qt1P05dnWz3RDV; Fri, 30 Jun 2023 16:44:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688143444; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Mwcqusq4+AGlke12J9Ir800EJ8ZF59si9ogo72mX1xU=; b=DPAnw7TN3oEeCsstemin4IEY/hdkjw8RxkNsCNC3XH7Uy1RSD2PioQ45pfT/Vdjtr22g65 PAQVC8ArfCsfbJTja46e4HtFwVdjSHTgYhEE96L2EawigV8PHCzQjF7sfSsrzG4Up6bpnU Km37n+5ABwAYvR7KoYqap/Y9U5I42X+0+yC3iL1/UV3wAir7VqNviZnc7vRTj7xf2DnYr4 IjU8PcHfJWcz5O9Zn/pV7Xh3bKBgbpF1KDyksDKHZgc2YqE+1uMJ0RBQSgG8jK/SmOB04y jibzFcxV/YaQe2va4kM/DgPGVLkRElsS6XofrCAdD8Neq7orpc4YSdt7NajEOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688143444; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Mwcqusq4+AGlke12J9Ir800EJ8ZF59si9ogo72mX1xU=; b=FjIDbqVSdvxyz8qd6O4k4dK91pIpdGixTraw+n1oABp4r6nj4D29/B/L7I0PDGe5t3TGPl W8UHRcARsKLufvNo3l54ERCrbCA0RBRhqePGbKERq7AtBR6g80AUEg9Rb3Q2q8uMmdE5HR ippHiZDr5RHBXd5k32AEqg4aRkTwALf7K9SES7m/sCSDsmaUR7UFeDOwO/PfI/jm6yxC6Y 4gIBxXhh/0DuAgs0YAVRPv1lQjnPghhvWzT7fEH88zsEaqEHNlALC7byNC454T/6XGDLw/ pck999KzaD8lYd9cl9F2Ap/puVWuhG2wMj2q+h2mvBNubSU20VAt+AVEJL162g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688143444; a=rsa-sha256; cv=none; b=QywIRUlWYOwj3x5mf4NCcOGmWMP/X8oN5yaNMnaepKTAjzg7KDwaUCaEXDXvSHIbHlefxD 6a9IKWrhOU6kGP2c9zz8XUkuU9q/voh/jT/CklOlqsB56FMbVwVMVqdGZlo6iqPkm1vIMV uUL6wy49HCPRVKHl6nrnhfZAXC640xh2EoeGPgJKRA+TsCrDonK32B9Uty7PlrBiWbktNp 7qJuruX8csOucOYnmGMKCsdf2flj9FBzKksCR3fzWXKV09ghch0cHTafvSdFMITjT1ztj6 f0uSbOEnlf1d+pqWXrF1k3/6tLPHeXo7FboV8XyPMr93nX9xT4KO1NfIVHjCug== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Qt1P04jzRz15lM; Fri, 30 Jun 2023 16:44:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 35UGi4ND013305; Fri, 30 Jun 2023 16:44:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 35UGi4DF013304; Fri, 30 Jun 2023 16:44:04 GMT (envelope-from git) Date: Fri, 30 Jun 2023 16:44:04 GMT Message-Id: <202306301644.35UGi4DF013304@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 533f1f686f17 - main - i386 acpi: Remove unneeded function declaration. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 533f1f686f175cbdb7b45280b24fc51d4cd46a06 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=533f1f686f175cbdb7b45280b24fc51d4cd46a06 commit 533f1f686f175cbdb7b45280b24fc51d4cd46a06 Author: John Baldwin AuthorDate: 2023-06-30 16:34:45 +0000 Commit: John Baldwin CommitDate: 2023-06-30 16:43:52 +0000 i386 acpi: Remove unneeded function declaration. The declaration didn't use matching array bounds as the later definition raising a -Warray-parameters warning from GCC. However, the function is also defined before it is used, so the declaration isn't strictly needed. --- sys/i386/acpica/acpi_wakeup.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/i386/acpica/acpi_wakeup.c b/sys/i386/acpica/acpi_wakeup.c index 5f4841d76833..f76312eddc65 100644 --- a/sys/i386/acpica/acpi_wakeup.c +++ b/sys/i386/acpica/acpi_wakeup.c @@ -86,7 +86,6 @@ static cpuset_t suspcpus; static struct susppcb **susppcbs; #endif -static void *acpi_alloc_wakeup_handler(void **); static void acpi_stop_beep(void *); #ifdef SMP