Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Dec 2008 18:58:23 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r186567 - head/usr.bin/procstat
Message-ID:  <200812291858.mBTIwNed064453@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rwatson
Date: Mon Dec 29 18:58:22 2008
New Revision: 186567
URL: http://svn.freebsd.org/changeset/base/186567

Log:
  Include param.h instead of types.h before user.h so that the nested
  include of param.h can be removed from audit.h.
  
  MFC after:	3 weeks

Modified:
  head/usr.bin/procstat/procstat.c
  head/usr.bin/procstat/procstat_args.c
  head/usr.bin/procstat/procstat_basic.c
  head/usr.bin/procstat/procstat_bin.c
  head/usr.bin/procstat/procstat_cred.c
  head/usr.bin/procstat/procstat_files.c
  head/usr.bin/procstat/procstat_kstack.c
  head/usr.bin/procstat/procstat_threads.c
  head/usr.bin/procstat/procstat_vm.c

Modified: head/usr.bin/procstat/procstat.c
==============================================================================
--- head/usr.bin/procstat/procstat.c	Mon Dec 29 14:59:22 2008	(r186566)
+++ head/usr.bin/procstat/procstat.c	Mon Dec 29 18:58:22 2008	(r186567)
@@ -26,7 +26,7 @@
  * $FreeBSD$
  */
 
-#include <sys/types.h>
+#include <sys/param.h>
 #include <sys/sysctl.h>
 #include <sys/user.h>
 

Modified: head/usr.bin/procstat/procstat_args.c
==============================================================================
--- head/usr.bin/procstat/procstat_args.c	Mon Dec 29 14:59:22 2008	(r186566)
+++ head/usr.bin/procstat/procstat_args.c	Mon Dec 29 18:58:22 2008	(r186567)
@@ -26,7 +26,7 @@
  * $FreeBSD$
  */
 
-#include <sys/types.h>
+#include <sys/param.h>
 #include <sys/sysctl.h>
 #include <sys/user.h>
 

Modified: head/usr.bin/procstat/procstat_basic.c
==============================================================================
--- head/usr.bin/procstat/procstat_basic.c	Mon Dec 29 14:59:22 2008	(r186566)
+++ head/usr.bin/procstat/procstat_basic.c	Mon Dec 29 18:58:22 2008	(r186567)
@@ -26,7 +26,7 @@
  * $FreeBSD$
  */
 
-#include <sys/types.h>
+#include <sys/param.h>
 #include <sys/sysctl.h>
 #include <sys/user.h>
 

Modified: head/usr.bin/procstat/procstat_bin.c
==============================================================================
--- head/usr.bin/procstat/procstat_bin.c	Mon Dec 29 14:59:22 2008	(r186566)
+++ head/usr.bin/procstat/procstat_bin.c	Mon Dec 29 18:58:22 2008	(r186567)
@@ -26,7 +26,7 @@
  * $FreeBSD$
  */
 
-#include <sys/types.h>
+#include <sys/param.h>
 #include <sys/sysctl.h>
 #include <sys/user.h>
 

Modified: head/usr.bin/procstat/procstat_cred.c
==============================================================================
--- head/usr.bin/procstat/procstat_cred.c	Mon Dec 29 14:59:22 2008	(r186566)
+++ head/usr.bin/procstat/procstat_cred.c	Mon Dec 29 18:58:22 2008	(r186567)
@@ -26,7 +26,7 @@
  * $FreeBSD$
  */
 
-#include <sys/types.h>
+#include <sys/param.h>
 #include <sys/sysctl.h>
 #include <sys/user.h>
 

Modified: head/usr.bin/procstat/procstat_files.c
==============================================================================
--- head/usr.bin/procstat/procstat_files.c	Mon Dec 29 14:59:22 2008	(r186566)
+++ head/usr.bin/procstat/procstat_files.c	Mon Dec 29 18:58:22 2008	(r186567)
@@ -26,7 +26,7 @@
  * $FreeBSD$
  */
 
-#include <sys/types.h>
+#include <sys/param.h>
 #include <sys/socket.h>
 #include <sys/sysctl.h>
 #include <sys/un.h>

Modified: head/usr.bin/procstat/procstat_kstack.c
==============================================================================
--- head/usr.bin/procstat/procstat_kstack.c	Mon Dec 29 14:59:22 2008	(r186566)
+++ head/usr.bin/procstat/procstat_kstack.c	Mon Dec 29 18:58:22 2008	(r186567)
@@ -26,7 +26,7 @@
  * $FreeBSD$
  */
 
-#include <sys/types.h>
+#include <sys/param.h>
 #include <sys/sysctl.h>
 #include <sys/user.h>
 

Modified: head/usr.bin/procstat/procstat_threads.c
==============================================================================
--- head/usr.bin/procstat/procstat_threads.c	Mon Dec 29 14:59:22 2008	(r186566)
+++ head/usr.bin/procstat/procstat_threads.c	Mon Dec 29 18:58:22 2008	(r186567)
@@ -26,7 +26,7 @@
  * $FreeBSD$
  */
 
-#include <sys/types.h>
+#include <sys/param.h>
 #include <sys/sysctl.h>
 #include <sys/user.h>
 

Modified: head/usr.bin/procstat/procstat_vm.c
==============================================================================
--- head/usr.bin/procstat/procstat_vm.c	Mon Dec 29 14:59:22 2008	(r186566)
+++ head/usr.bin/procstat/procstat_vm.c	Mon Dec 29 18:58:22 2008	(r186567)
@@ -26,7 +26,7 @@
  * $FreeBSD$
  */
 
-#include <sys/types.h>
+#include <sys/param.h>
 #include <sys/sysctl.h>
 #include <sys/user.h>
 



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