summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2014-04-21 09:57:27 +0000
committerhenning <henning@openbsd.org>2014-04-21 09:57:27 +0000
commitf856ca500ca9efa640f1c584fee85d43330fb719 (patch)
tree5f98ee88f0aab8ed26e76016176c6b8207027c3a
parentNow that we properly negotiate the session params we can enable sending (diff)
downloadwireguard-openbsd-f856ca500ca9efa640f1c584fee85d43330fb719.tar.xz
wireguard-openbsd-f856ca500ca9efa640f1c584fee85d43330fb719.zip
cosmetic changes regarding #ifdef to make things more obvious, ok reyk
-rw-r--r--sys/netinet/in.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h
index ac51100f3de..8db628cbd3c 100644
--- a/sys/netinet/in.h
+++ b/sys/netinet/in.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: in.h,v 1.104 2014/04/20 09:38:19 henning Exp $ */
+/* $OpenBSD: in.h,v 1.105 2014/04/21 09:57:27 henning Exp $ */
/* $NetBSD: in.h,v 1.20 1996/02/13 23:41:47 christos Exp $ */
/*
@@ -767,16 +767,16 @@ struct ip_mreq {
#undef __KAME_NETINET_IN_H_INCLUDED_
#ifndef _KERNEL
-
#if __BSD_VISIBLE
__BEGIN_DECLS
int bindresvport(int, struct sockaddr_in *);
struct sockaddr;
int bindresvport_sa(int, struct sockaddr *);
__END_DECLS
-#endif
+#endif /* __BSD_VISIBLE */
+#endif /* !_KERNEL */
-#else
+#ifdef _KERNEL
extern int inetctlerrmap[];
extern struct ifqueue ipintrq; /* ip packet input queue */
extern struct in_addr zeroin_addr;