Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jun 2023 16:44:04 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 533f1f686f17 - main - i386 acpi: Remove unneeded function declaration.
Message-ID:  <202306301644.35UGi4DF013304@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=533f1f686f175cbdb7b45280b24fc51d4cd46a06

commit 533f1f686f175cbdb7b45280b24fc51d4cd46a06
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-06-30 16:34:45 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306301644.35UGi4DF013304>