Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netinet6 remove unnecessary extern declaration.
details: https://anonhg.NetBSD.org/src/rev/6fd2af7d23af
branches: trunk
changeset: 349322:6fd2af7d23af
user: knakahara <knakahara%NetBSD.org@localhost>
date: Tue Dec 06 08:58:16 2016 +0000
description:
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.
diffstat:
sys/netinet6/sctp6_usrreq.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r 3025cc18b062 -r 6fd2af7d23af sys/netinet6/sctp6_usrreq.c
--- a/sys/netinet6/sctp6_usrreq.c Tue Dec 06 08:21:47 2016 +0000
+++ b/sys/netinet6/sctp6_usrreq.c Tue Dec 06 08:58:16 2016 +0000
@@ -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 @@
#include <net/net_osdep.h>
-extern struct protosw inetsw[];
-
#if defined(HAVE_NRL_INPCB) || defined(__FreeBSD__)
#ifndef in6pcb
#define in6pcb inpcb
Home |
Main Index |
Thread Index |
Old Index