git: c28450f42a54 - stable/13 - Adjust iface_khandler_deregister() definition to avoid clang 15 warning

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sun, 24 Jul 2022 11:01:50 UTC
The branch stable/13 has been updated by dim:

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

commit c28450f42a54e68c0393af0e275f36ae98d27b29
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-07-21 19:32:16 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-07-24 11:00:08 +0000

    Adjust iface_khandler_deregister() definition to avoid clang 15 warning
    
    With clang 15, the following -Werror warning is produced:
    
        sys/netpfil/ipfw/ip_fw_iface.c:159:26: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
        iface_khandler_deregister()
                                 ^
                                  void
    
    This is because iface_khandler_deregister() 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 4100dc46c78cef408369c0fc8dcfd1f87783a1ca)
---
 sys/netpfil/ipfw/ip_fw_iface.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/netpfil/ipfw/ip_fw_iface.c b/sys/netpfil/ipfw/ip_fw_iface.c
index 8e384105ce14..30a943bd8761 100644
--- a/sys/netpfil/ipfw/ip_fw_iface.c
+++ b/sys/netpfil/ipfw/ip_fw_iface.c
@@ -156,7 +156,7 @@ iface_khandler_register()
  * detach.
  */
 static void
-iface_khandler_deregister()
+iface_khandler_deregister(void)
 {
 	int destroy;