git: 205798564926 - main - Adjust sctp_init_sysctls() definition to avoid clang 15 warning

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Mon, 25 Jul 2022 20:08:51 UTC
The branch main has been updated by dim:

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

commit 205798564926589ed621b88d1853429d00de6de0
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-07-25 20:07:49 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-07-25 20:08:35 +0000

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

diff --git a/sys/netinet/sctp_sysctl.c b/sys/netinet/sctp_sysctl.c
index e7e53e52b226..fcc02f315a1b 100644
--- a/sys/netinet/sctp_sysctl.c
+++ b/sys/netinet/sctp_sysctl.c
@@ -52,7 +52,7 @@ FEATURE(sctp, "Stream Control Transmission Protocol");
  */
 
 void
-sctp_init_sysctls()
+sctp_init_sysctls(void)
 {
 	SCTP_BASE_SYSCTL(sctp_sendspace) = SCTPCTL_MAXDGRAM_DEFAULT;
 	SCTP_BASE_SYSCTL(sctp_recvspace) = SCTPCTL_RECVSPACE_DEFAULT;