Module Name: src Committed By: knakahara Date: Tue Dec 6 08:58:16 UTC 2016
Modified Files: src/sys/netinet6: sctp6_usrreq.c Log Message: remove unnecessary extern declaration. inetsw has been declared since r1.1, however sctp6_usrreq.c can be built without the declaration. It must be removed. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/sys/netinet6/sctp6_usrreq.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/netinet6/sctp6_usrreq.c diff -u src/sys/netinet6/sctp6_usrreq.c:1.9 src/sys/netinet6/sctp6_usrreq.c:1.10 --- src/sys/netinet6/sctp6_usrreq.c:1.9 Fri Nov 18 06:50:04 2016 +++ src/sys/netinet6/sctp6_usrreq.c Tue Dec 6 08:58:16 2016 @@ -1,5 +1,5 @@ /* $KAME: sctp6_usrreq.c,v 1.38 2005/08/24 08:08:56 suz Exp $ */ -/* $NetBSD: sctp6_usrreq.c,v 1.9 2016/11/18 06:50:04 knakahara Exp $ */ +/* $NetBSD: sctp6_usrreq.c,v 1.10 2016/12/06 08:58:16 knakahara Exp $ */ /* * Copyright (c) 2001, 2002, 2003, 2004 Cisco Systems, Inc. @@ -33,7 +33,7 @@ * SUCH DAMAGE. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sctp6_usrreq.c,v 1.9 2016/11/18 06:50:04 knakahara Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sctp6_usrreq.c,v 1.10 2016/12/06 08:58:16 knakahara Exp $"); #ifdef _KERNEL_OPT #include "opt_inet.h" @@ -92,8 +92,6 @@ __KERNEL_RCSID(0, "$NetBSD: sctp6_usrreq #include <net/net_osdep.h> -extern struct protosw inetsw[]; - #if defined(HAVE_NRL_INPCB) || defined(__FreeBSD__) #ifndef in6pcb #define in6pcb inpcb