Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2012 23:36:29 +0000 (UTC)
From:      "David E. O'Brien" <obrien@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r241972 - head/usr.bin/script
Message-ID:  <201210232336.q9NNaTNm084077@svn.freebsd.org>

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



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