summaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_proto.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2013-04-24 10:17:09 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2013-04-24 10:17:09 +0000
commitbbe6022639b3d37a2194d9f8ead0592a40f76f4e (patch)
treeedb0c8eccab074ba108b2a3d01b9b32c1dfe9c1c /sys/netinet6/in6_proto.c
parentdc6df4f11f1df0adde2bebf36796219aefade06b (diff)
Instead of having various extern declarations for protocol variables,
declare them once in their corresponding header file.
Diffstat (limited to 'sys/netinet6/in6_proto.c')
-rw-r--r--sys/netinet6/in6_proto.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c
index e125974024d..008414fe4cb 100644
--- a/sys/netinet6/in6_proto.c
+++ b/sys/netinet6/in6_proto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in6_proto.c,v 1.66 2013/04/01 22:58:29 bluhm Exp $ */
+/* $OpenBSD: in6_proto.c,v 1.67 2013/04/24 10:17:08 mpi Exp $ */
/* $KAME: in6_proto.c,v 1.66 2000/10/10 15:35:47 itojun Exp $ */
/*
@@ -122,8 +122,7 @@
/*
* TCP/IP protocol family: IP6, ICMP6, UDP, TCP.
*/
-
-extern struct domain inet6domain;
+u_char ip6_protox[IPPROTO_MAX];
struct ip6protosw inet6sw[] = {
{ 0, &inet6domain, IPPROTO_IPV6, 0,