Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Dec 2015 20:53:51 +0000 (UTC)
From:      Andriy Voskoboinyk <avos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r292166 - in head/sys/dev/wtap: . plugins
Message-ID:  <201512132053.tBDKrpGY078296@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avos
Date: Sun Dec 13 20:53:51 2015
New Revision: 292166
URL: https://svnweb.freebsd.org/changeset/base/292166

Log:
  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

Modified:
  head/sys/dev/wtap/if_wtap_module.c
  head/sys/dev/wtap/if_wtapvar.h
  head/sys/dev/wtap/plugins/visibility.c

Modified: head/sys/dev/wtap/if_wtap_module.c
==============================================================================
--- head/sys/dev/wtap/if_wtap_module.c	Sun Dec 13 20:48:24 2015	(r292165)
+++ head/sys/dev/wtap/if_wtap_module.c	Sun Dec 13 20:53:51 2015	(r292166)
@@ -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>

Modified: head/sys/dev/wtap/if_wtapvar.h
==============================================================================
--- head/sys/dev/wtap/if_wtapvar.h	Sun Dec 13 20:48:24 2015	(r292165)
+++ head/sys/dev/wtap/if_wtapvar.h	Sun Dec 13 20:53:51 2015	(r292166)
@@ -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>

Modified: head/sys/dev/wtap/plugins/visibility.c
==============================================================================
--- head/sys/dev/wtap/plugins/visibility.c	Sun Dec 13 20:48:24 2015	(r292165)
+++ head/sys/dev/wtap/plugins/visibility.c	Sun Dec 13 20:53:51 2015	(r292166)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512132053.tBDKrpGY078296>