From 63ccf85049b1d4fee0dd756b37fbfaa722b76667 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Thu, 20 Apr 2023 06:30:52 +0300 Subject: [PATCH] sctp: Avoid old-style function defintions Part-of: --- .../ext/sctp/usrsctp/usrsctplib/netinet/sctp_pcb.c | 2 +- .../ext/sctp/usrsctp/usrsctplib/netinet/sctp_sysctl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-plugins-bad/ext/sctp/usrsctp/usrsctplib/netinet/sctp_pcb.c b/subprojects/gst-plugins-bad/ext/sctp/usrsctp/usrsctplib/netinet/sctp_pcb.c index f051fa94dd..6fd3c5e2e1 100644 --- a/subprojects/gst-plugins-bad/ext/sctp/usrsctp/usrsctplib/netinet/sctp_pcb.c +++ b/subprojects/gst-plugins-bad/ext/sctp/usrsctp/usrsctplib/netinet/sctp_pcb.c @@ -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 diff --git a/subprojects/gst-plugins-bad/ext/sctp/usrsctp/usrsctplib/netinet/sctp_sysctl.c b/subprojects/gst-plugins-bad/ext/sctp/usrsctp/usrsctplib/netinet/sctp_sysctl.c index 91068118e1..0f8cd4dccb 100644 --- a/subprojects/gst-plugins-bad/ext/sctp/usrsctp/usrsctplib/netinet/sctp_sysctl.c +++ b/subprojects/gst-plugins-bad/ext/sctp/usrsctp/usrsctplib/netinet/sctp_sysctl.c @@ -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;