Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2014 20:38:18 +0000 (UTC)
From:      Steven Hartland <smh@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r271819 - in head: share/man/man9 sys/cddl/compat/opensolaris/kern
Message-ID:  <201409182038.s8IKcIc6049601@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>
 



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