K 10 svn:author V 3 dim K 8 svn:date V 27 2022-07-29T18:50:08.560836Z K 7 svn:log V 646 Adjust sctp_drain() definition to avoid clang 15 warning With clang 15, the following -Werror warning is produced: sys/netinet/sctp_pcb.c:6946:11: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] sctp_drain() ^ void This is because sctp_drain() 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 24e13a49faabb22ece97dc8e4718caf8f6bad84c) Git Hash: 049bc90cdbcbe6970c5d47c0c23c33c61bf11cab Git Author: dim@FreeBSD.org END