git: 4e417669acbe - stable/13 - Adjust playinit() definition to avoid clang 15 warning

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Fri, 29 Jul 2022 18:47:35 UTC
The branch stable/13 has been updated by dim:

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

commit 4e417669acbe422e939c631f12515803ddc0a4a2
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-07-26 11:43:46 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-07-29 18:30:00 +0000

    Adjust playinit() definition to avoid clang 15 warning
    
    With clang 15, the following -Werror warning is produced:
    
        sys/dev/speaker/spkr.c:182:9: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
        playinit()
                ^
                 void
    
    This is because playinit() is declared with a (void) argument list, but
    defined with an empty argument list. Make the definition match the
    declaration.
    
    MFC after:      3 days
    
    (cherry picked from commit 57c46916e145581807333bc06a08e9532721bd8f)
---
 sys/dev/speaker/spkr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/dev/speaker/spkr.c b/sys/dev/speaker/spkr.c
index 5cef331eae5f..86b58cda9843 100644
--- a/sys/dev/speaker/spkr.c
+++ b/sys/dev/speaker/spkr.c
@@ -179,7 +179,7 @@ static int pitchtab[] =
 };
 
 static void
-playinit()
+playinit(void)
 {
     octave = DFLT_OCTAVE;
     whole = (100 * SECS_PER_MIN * WHOLE_NOTE) / DFLT_TEMPO;