aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2023-06-30 16:34:45 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2023-06-30 16:43:52 +0000
commit533f1f686f175cbdb7b45280b24fc51d4cd46a06 (patch)
tree5cdaeb3e5d6e6bd039425a4bb0c9a5aaa82f7b4b /sys
parent56f3f2d2491e30f369f9461c3cb2a366bdffbe1d (diff)
downloadsrc-533f1f686f175cbdb7b45280b24fc51d4cd46a06.tar.gz
src-533f1f686f175cbdb7b45280b24fc51d4cd46a06.zip
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.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/acpica/acpi_wakeup.c1
1 files changed, 0 insertions, 1 deletions
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