Module Name: src Committed By: kamil Date: Sun Feb 24 17:01:52 UTC 2019
Modified Files: src/sys/netinet: sctp_asconf.h Log Message: Appease GCC7 in sctp_asconf.h Do not declare types inside function parameter list. Add decklarations of types before these function prototypes. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/netinet/sctp_asconf.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/netinet/sctp_asconf.h diff -u src/sys/netinet/sctp_asconf.h:1.1 src/sys/netinet/sctp_asconf.h:1.2 --- src/sys/netinet/sctp_asconf.h:1.1 Tue Oct 13 21:28:35 2015 +++ src/sys/netinet/sctp_asconf.h Sun Feb 24 17:01:52 2019 @@ -1,5 +1,5 @@ /* $KAME: sctp_asconf.h,v 1.8 2005/03/06 16:04:16 itojun Exp $ */ -/* $NetBSD: sctp_asconf.h,v 1.1 2015/10/13 21:28:35 rjs Exp $ */ +/* $NetBSD: sctp_asconf.h,v 1.2 2019/02/24 17:01:52 kamil Exp $ */ #ifndef _NETINET_SCTP_ASCONF_H_ #define _NETINET_SCTP_ASCONF_H_ @@ -36,6 +36,13 @@ #if defined(_KERNEL) +struct sctp_tcb; +struct sctp_nets; +struct sctp_asconf_chunk; +struct sockaddr; +struct sctp_inpcb; +struct sctp_asconf_ack_chunk; + extern void sctp_asconf_cleanup(struct sctp_tcb *, struct sctp_nets *); extern struct mbuf *sctp_compose_asconf(struct sctp_tcb *);