svn commit: r241972 - head/usr.bin/script

David E. O'Brien obrien at FreeBSD.org
Tue Oct 23 23:36:29 UTC 2012


Author: obrien
Date: Tue Oct 23 23:36:29 2012
New Revision: 241972
URL: http://svn.freebsd.org/changeset/base/241972

Log:
  Don't include both <sys/param.h> & <sys/types.h>.

Modified:
  head/usr.bin/script/script.c

Modified: head/usr.bin/script/script.c
==============================================================================
--- head/usr.bin/script/script.c	Tue Oct 23 23:13:44 2012	(r241971)
+++ head/usr.bin/script/script.c	Tue Oct 23 23:36:29 2012	(r241972)
@@ -27,28 +27,23 @@
  * SUCH DAMAGE.
  */
 
-#include <sys/cdefs.h>
-
+#include <sys/param.h>
 __FBSDID("$FreeBSD$");
-
 #ifndef lint
 static const char copyright[] =
 "@(#) Copyright (c) 1980, 1992, 1993\n\
 	The Regents of the University of California.  All rights reserved.\n";
 #endif
-
 #ifndef lint
 static const char sccsid[] = "@(#)script.c	8.1 (Berkeley) 6/6/93";
 #endif
 
-#include <sys/types.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
 #include <sys/time.h>
 #include <sys/uio.h>
 #include <sys/endian.h>
-#include <sys/param.h>
 
 #include <err.h>
 #include <errno.h>


More information about the svn-src-head mailing list