summaryrefslogtreecommitdiffstats
path: root/sys/dev/wtap
diff options
context:
space:
mode:
authoravos <avos@FreeBSD.org>2015-12-13 20:53:51 +0000
committeravos <avos@FreeBSD.org>2015-12-13 20:53:51 +0000
commite5363801d09eab4b235965b479e3f2b5f9a06fe0 (patch)
tree357dc20bb21828332618172730df08f88878c580 /sys/dev/wtap
parent093224c4462002b02a08f5b23e361e7983b9fee1 (diff)
downloadFreeBSD-src-e5363801d09eab4b235965b479e3f2b5f9a06fe0.zip
FreeBSD-src-e5363801d09eab4b235965b479e3f2b5f9a06fe0.tar.gz
wtap: do not include <sys/types.h> when <sys/param.h> is already included
Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D4536
Diffstat (limited to 'sys/dev/wtap')
-rw-r--r--sys/dev/wtap/if_wtap_module.c1
-rw-r--r--sys/dev/wtap/if_wtapvar.h2
-rw-r--r--sys/dev/wtap/plugins/visibility.c1
3 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/wtap/if_wtap_module.c b/sys/dev/wtap/if_wtap_module.c
index 7a87d57..764f8a6 100644
--- a/sys/dev/wtap/if_wtap_module.c
+++ b/sys/dev/wtap/if_wtap_module.c
@@ -41,7 +41,6 @@
#include <sys/ucred.h>
#include <sys/jail.h>
-#include <sys/types.h>
#include <sys/sockio.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
diff --git a/sys/dev/wtap/if_wtapvar.h b/sys/dev/wtap/if_wtapvar.h
index 5ba55cb..a5cfd49 100644
--- a/sys/dev/wtap/if_wtapvar.h
+++ b/sys/dev/wtap/if_wtapvar.h
@@ -32,7 +32,6 @@
#ifndef _DEV_WTAP_WTAPVAR_H
#define _DEV_WTAP_WTAPVAR_H
-#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/conf.h>
#include <sys/module.h>
@@ -44,7 +43,6 @@
#include <sys/lock.h>
#include <sys/mutex.h>
-#include <sys/types.h>
#include <sys/sockio.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
diff --git a/sys/dev/wtap/plugins/visibility.c b/sys/dev/wtap/plugins/visibility.c
index a73d520..620dfd6 100644
--- a/sys/dev/wtap/plugins/visibility.c
+++ b/sys/dev/wtap/plugins/visibility.c
@@ -41,7 +41,6 @@
#include <sys/ucred.h>
#include <sys/jail.h>
-#include <sys/types.h>
#include <sys/sockio.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
OpenPOWER on IntegriCloud