sctp: Avoid old-style function defintions

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4457>
This commit is contained in:
Jordan Petridis 2023-04-20 06:30:52 +03:00 committed by GStreamer Marge Bot
parent 689dbd1fbe
commit 63ccf85049
2 changed files with 2 additions and 2 deletions

View file

@ -7982,7 +7982,7 @@ sctp_drain_mbufs(struct sctp_tcb *stcb)
}
void
sctp_drain()
sctp_drain(void)
{
/*
* We must walk the PCB lists for ALL associations here. The system

View file

@ -61,7 +61,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;