svn commit: r271819 - in head: share/man/man9 sys/cddl/compat/opensolaris/kern

Steven Hartland smh at FreeBSD.org
Thu Sep 18 20:38:19 UTC 2014


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>
 


More information about the svn-src-all mailing list