Author: smh
Date: Thu Sep 18 20:38:18 2014
New Revision: 271819
URL: http://svnweb.freebsd.org/changeset/base/271819

Log:
  Remove sys/types.h include as per style (9)
  
  SDT requries sys/param.h due to use of NULL
  
  Reported by:  Garrett
  Sponsored by: Multiplay

Modified:
  head/share/man/man9/SDT.9
  head/sys/cddl/compat/opensolaris/kern/opensolaris_dtrace.c

Modified: head/share/man/man9/SDT.9
==============================================================================
--- head/share/man/man9/SDT.9   Thu Sep 18 20:35:22 2014        (r271818)
+++ head/share/man/man9/SDT.9   Thu Sep 18 20:38:18 2014        (r271819)
@@ -32,7 +32,6 @@
 .Nd a DTrace framework for adding statically-defined tracing probes
 .Sh SYNOPSIS
 .In sys/param.h
-.In sys/types.h
 .In sys/queue.h
 .In sys/sdt.h
 .Fn SDT_PROVIDER_DECLARE prov

Modified: head/sys/cddl/compat/opensolaris/kern/opensolaris_dtrace.c
==============================================================================
--- head/sys/cddl/compat/opensolaris/kern/opensolaris_dtrace.c  Thu Sep 18 
20:35:22 2014        (r271818)
+++ head/sys/cddl/compat/opensolaris/kern/opensolaris_dtrace.c  Thu Sep 18 
20:38:18 2014        (r271819)
@@ -30,7 +30,6 @@
 __FBSDID("$FreeBSD$");
 
 #include <sys/param.h>
-#include <sys/types.h>
 #include <sys/queue.h>
 #include <sys/sdt.h>
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to