summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-12-05 23:20:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-12-05 23:20:27 +0000
commit0275dcbbe75bf604e5d9b03f215e510188a36496 (patch)
tree5c28b494f1e6a54c80a5317abfe2c32e13cbbdc5 /sys/net
parent56b74e8e5b53b78f8c539afa3b9581be53b79e06 (diff)
Remove excessive sys/cdefs.h inclusion
ok guenther millert kettenis
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_dl.h4
-rw-r--r--sys/net/pipex.h4
-rw-r--r--sys/net/trunklacp.c4
3 files changed, 4 insertions, 8 deletions
diff --git a/sys/net/if_dl.h b/sys/net/if_dl.h
index 11b979ec3e4..2b60f34c1b4 100644
--- a/sys/net/if_dl.h
+++ b/sys/net/if_dl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_dl.h,v 1.7 2011/07/08 01:09:52 claudio Exp $ */
+/* $OpenBSD: if_dl.h,v 1.8 2012/12/05 23:20:23 deraadt Exp $ */
/* $NetBSD: if_dl.h,v 1.8 1995/03/26 20:30:13 jtc Exp $ */
/*
@@ -73,8 +73,6 @@ struct sockaddr_dl {
#ifndef _KERNEL
-#include <sys/cdefs.h>
-
__BEGIN_DECLS
void link_addr(const char *, struct sockaddr_dl *);
char *link_ntoa(const struct sockaddr_dl *);
diff --git a/sys/net/pipex.h b/sys/net/pipex.h
index 239f721b9e2..197a34bfe7a 100644
--- a/sys/net/pipex.h
+++ b/sys/net/pipex.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pipex.h,v 1.15 2012/09/19 22:37:23 jsg Exp $ */
+/* $OpenBSD: pipex.h,v 1.16 2012/12/05 23:20:23 deraadt Exp $ */
/*
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -192,7 +192,7 @@ struct pipex_iface_context {
/* virtual pipex_session entry for multicast routing */
struct pipex_session *multicast_session;
};
-#include <sys/cdefs.h>
+
__BEGIN_DECLS
void pipex_init (void);
void pipex_iface_init (struct pipex_iface_context *, struct ifnet *);
diff --git a/sys/net/trunklacp.c b/sys/net/trunklacp.c
index 3b742972a29..b960d1fc207 100644
--- a/sys/net/trunklacp.c
+++ b/sys/net/trunklacp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trunklacp.c,v 1.13 2011/07/09 04:38:03 henning Exp $ */
+/* $OpenBSD: trunklacp.c,v 1.14 2012/12/05 23:20:23 deraadt Exp $ */
/* $NetBSD: ieee8023ad_lacp.c,v 1.3 2005/12/11 12:24:54 christos Exp $ */
/* $FreeBSD:ieee8023ad_lacp.c,v 1.15 2008/03/16 19:25:30 thompsa Exp $ */
@@ -29,8 +29,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include <sys/param.h>
#include <sys/mbuf.h>
#include <sys/systm.h>