diff options
author | avos <avos@FreeBSD.org> | 2015-12-13 20:53:51 +0000 |
---|---|---|
committer | avos <avos@FreeBSD.org> | 2015-12-13 20:53:51 +0000 |
commit | e5363801d09eab4b235965b479e3f2b5f9a06fe0 (patch) | |
tree | 357dc20bb21828332618172730df08f88878c580 /sys/dev/wtap | |
parent | 093224c4462002b02a08f5b23e361e7983b9fee1 (diff) | |
download | FreeBSD-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.c | 1 | ||||
-rw-r--r-- | sys/dev/wtap/if_wtapvar.h | 2 | ||||
-rw-r--r-- | sys/dev/wtap/plugins/visibility.c | 1 |
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> |