summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2013-10-23 13:39:35 +0000
committermpi <mpi@openbsd.org>2013-10-23 13:39:35 +0000
commiteab69afc5e51f81b50314f86cd765b47c56641bf (patch)
tree650d90791a77b4b35184a4ac73df8a14bbbb6601
parentAdd support for displaying the cache write policy of RAID volumes to bioctl(8) (diff)
downloadwireguard-openbsd-eab69afc5e51f81b50314f86cd765b47c56641bf.tar.xz
wireguard-openbsd-eab69afc5e51f81b50314f86cd765b47c56641bf.zip
No need to expose twice in_socktrim(), it is only used in one file.
-rw-r--r--sys/netinet/in.c3
-rw-r--r--sys/netinet/in.h3
-rw-r--r--sys/netinet/in_var.h3
3 files changed, 4 insertions, 5 deletions
diff --git a/sys/netinet/in.c b/sys/netinet/in.c
index e65aa6ca32e..8e27a7dc894 100644
--- a/sys/netinet/in.c
+++ b/sys/netinet/in.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in.c,v 1.87 2013/10/18 09:04:02 mpi Exp $ */
+/* $OpenBSD: in.c,v 1.88 2013/10/23 13:39:35 mpi Exp $ */
/* $NetBSD: in.c,v 1.26 1996/02/13 23:41:39 christos Exp $ */
/*
@@ -87,6 +87,7 @@
#ifdef INET
+void in_socktrim(struct sockaddr_in *);
void in_len2mask(struct in_addr *, int);
int in_lifaddr_ioctl(struct socket *, u_long, caddr_t,
struct ifnet *);
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index 2e157ffe675..0598ed96fc6 100644
--- a/sys/netinet/in.h
+++ b/sys/netinet/in.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in.h,v 1.98 2013/10/21 12:43:17 deraadt Exp $ */
+/* $OpenBSD: in.h,v 1.99 2013/10/23 13:39:35 mpi Exp $ */
/* $NetBSD: in.h,v 1.20 1996/02/13 23:41:47 christos Exp $ */
/*
@@ -832,7 +832,6 @@ int in_cksum(struct mbuf *, int);
int in4_cksum(struct mbuf *, u_int8_t, int, int);
void in_delayed_cksum(struct mbuf *);
int in_localaddr(struct in_addr, u_int);
-void in_socktrim(struct sockaddr_in *);
char *inet_ntoa(struct in_addr);
void in_proto_cksum_out(struct mbuf *, struct ifnet *);
void in_ifdetach(struct ifnet *);
diff --git a/sys/netinet/in_var.h b/sys/netinet/in_var.h
index 0d1b892ca3b..88b593ea058 100644
--- a/sys/netinet/in_var.h
+++ b/sys/netinet/in_var.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in_var.h,v 1.24 2013/10/18 09:04:03 mpi Exp $ */
+/* $OpenBSD: in_var.h,v 1.25 2013/10/23 13:39:35 mpi Exp $ */
/* $NetBSD: in_var.h,v 1.16 1996/02/13 23:42:15 christos Exp $ */
/*
@@ -85,7 +85,6 @@ TAILQ_HEAD(in_ifaddrhead, in_ifaddr);
extern struct in_ifaddrhead in_ifaddr;
extern struct ifqueue ipintrq; /* ip packet input queue */
extern int inetctlerrmap[];
-void in_socktrim(struct sockaddr_in *);
/*