git: 9c5d47763888 - stable/13 - Adjust function definition in isa's pnp.c to avoid clang 15 warning

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Mon, 01 Aug 2022 18:10:31 UTC
The branch stable/13 has been updated by dim:

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

commit 9c5d47763888b30b92998af882566e464f272857
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-07-27 19:02:51 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-08-01 18:07:10 +0000

    Adjust function definition in isa's pnp.c to avoid clang 15 warning
    
    With clang 15, the following -Werror warning is produced:
    
        sys/isa/pnp.c:118:24: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
        pnp_send_initiation_key()
                               ^
                                void
    
    This is because pnp_send_initiation_key() 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 24e8823ef579b99b32c00a7a126a78f91727498a)
---
 sys/isa/pnp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/isa/pnp.c b/sys/isa/pnp.c
index c2c66e08c208..768c2c4dd3ed 100644
--- a/sys/isa/pnp.c
+++ b/sys/isa/pnp.c
@@ -115,7 +115,7 @@ pnp_write(int d, u_char r)
  * Intel May 94.
  */
 static void
-pnp_send_initiation_key()
+pnp_send_initiation_key(void)
 {
 	int cur, i;