git: c45bc02560b0 - main - Adjust function definition in acpi_timer.c to avoid clang 15 warnings

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Tue, 26 Jul 2022 20:10:01 UTC
The branch main has been updated by dim:

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

commit c45bc02560b0f632f8e085679512a588bfcb3384
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-07-26 19:35:07 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-07-26 20:08:01 +0000

    Adjust function definition in acpi_timer.c to avoid clang 15 warnings
    
    With clang 15, the following -Werror warning is produced:
    
        sys/dev/acpica/acpi_timer.c:402:16: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
        acpi_timer_test()
                       ^
                        void
    
    This is because acpi_timer_test() is declared with a (void) argument
    list, but defined with an empty argument list. Make the definition match
    the declaration.
    
    MFC after:      3 days
---
 sys/dev/acpica/acpi_timer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/acpica/acpi_timer.c b/sys/dev/acpica/acpi_timer.c
index a837e643ff1e..072249cca221 100644
--- a/sys/dev/acpica/acpi_timer.c
+++ b/sys/dev/acpica/acpi_timer.c
@@ -399,7 +399,7 @@ SYSCTL_PROC(_machdep, OID_AUTO, acpi_timer_freq,
  */
 #define N 2000
 static int
-acpi_timer_test()
+acpi_timer_test(void)
 {
     uint32_t last, this;
     int delta, max, max2, min, n;