Remove simultaneous include of <sys/param.h> and <sys/types.h>.

Reorder includes to be alphabetical some places since I already was in
here.
This commit is contained in:
Eivind Eklund 1997-12-10 22:18:54 +00:00
parent 690c488d0a
commit 007d33500e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31666
20 changed files with 28 additions and 56 deletions

View File

@ -42,14 +42,13 @@ static const char copyright[] =
static char sccsid[] = "@(#)csh.c 8.2 (Berkeley) 10/12/93";
#else
static const char rcsid[] =
"$Id: csh.c,v 1.10 1997/08/08 00:49:25 steve Exp $";
"$Id: csh.c,v 1.11 1997/10/07 16:27:48 eivind Exp $";
#endif
#endif /* not lint */
#include <sys/types.h>
#include <sys/param.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <fcntl.h>
#include <errno.h>
#include <pwd.h>

View File

@ -36,11 +36,10 @@
static char sccsid[] = "@(#)exec.c 8.1 (Berkeley) 5/31/93";
#else
static const char rcsid[] =
"$Id: exec.c,v 1.6 1997/02/22 14:01:50 peter Exp $";
"$Id: exec.c,v 1.7 1997/08/07 21:42:07 steve Exp $";
#endif
#endif /* not lint */
#include <sys/types.h>
#include <sys/param.h>
#include <dirent.h>
#include <fcntl.h>

View File

@ -25,10 +25,9 @@
* SUCH DAMAGE.
*
* @(#)ed.h,v 1.5 1994/02/01 00:34:39 alm Exp
* $Id$
* $Id: ed.h,v 1.10 1997/02/22 14:03:14 peter Exp $
*/
#include <sys/types.h>
#include <sys/param.h> /* for MAXPATHLEN */
#include <errno.h>
#if defined(sun) || defined(__NetBSD__)

View File

@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: ar_io.c,v 1.7 1997/02/22 14:04:17 peter Exp $
* $Id: ar_io.c,v 1.8 1997/08/29 16:12:19 sos Exp $
*/
#ifndef lint
@ -42,11 +42,9 @@ static char const sccsid[] = "@(#)ar_io.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
#include <sys/mtio.h>
#include <sys/param.h>
#include <signal.h>
#include <string.h>
#include <fcntl.h>

View File

@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: ar_subs.c,v 1.7 1997/02/22 14:04:19 peter Exp $
* $Id: ar_subs.c,v 1.8 1997/08/29 16:12:19 sos Exp $
*/
#ifndef lint
@ -44,7 +44,6 @@ static char const sccsid[] = "@(#)ar_subs.c 8.2 (Berkeley) 4/18/94";
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <signal.h>
#include <string.h>
#include <stdio.h>

View File

@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: buf_subs.c,v 1.7 1997/02/22 14:04:20 peter Exp $
* $Id: buf_subs.c,v 1.8 1997/08/29 16:12:20 sos Exp $
*/
#ifndef lint
@ -42,10 +42,7 @@ static char const sccsid[] = "@(#)buf_subs.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>

View File

@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: cache.c,v 1.7 1997/06/02 06:30:06 charnier Exp $
* $Id: cache.c,v 1.8 1997/08/29 16:12:21 sos Exp $
*/
#ifndef lint
@ -42,9 +42,7 @@ static char const sccsid[] = "@(#)cache.c 8.1 (Berkeley) 5/31/93";
#endif /* not lint */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <string.h>
#include <stdio.h>
#include <pwd.h>

View File

@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: cpio.c,v 1.7 1997/02/22 14:04:23 peter Exp $
* $Id: cpio.c,v 1.8 1997/08/29 16:12:21 sos Exp $
*/
#ifndef lint
@ -44,7 +44,6 @@ static char const sccsid[] = "@(#)cpio.c 8.1 (Berkeley) 5/31/93";
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>

View File

@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: file_subs.c,v 1.7 1997/02/22 14:04:26 peter Exp $
* $Id: file_subs.c,v 1.8 1997/08/29 16:12:23 sos Exp $
*/
#ifndef lint
@ -45,7 +45,6 @@ static char const sccsid[] = "@(#)file_subs.c 8.1 (Berkeley) 5/31/93";
#include <sys/time.h>
#include <sys/stat.h>
#include <unistd.h>
#include <sys/param.h>
#include <fcntl.h>
#include <string.h>
#include <stdio.h>

View File

@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: ftree.c,v 1.7 1997/02/22 14:04:27 peter Exp $
* $Id: ftree.c,v 1.8 1997/08/29 16:12:24 sos Exp $
*/
#ifndef lint
@ -44,7 +44,6 @@ static char const sccsid[] = "@(#)ftree.c 8.2 (Berkeley) 4/18/94";
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>

View File

@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: gen_subs.c,v 1.9 1997/02/22 14:04:31 peter Exp $
*/
#ifndef lint
@ -44,7 +44,6 @@ static char const sccsid[] = "@(#)gen_subs.c 8.1 (Berkeley) 5/31/93";
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <stdio.h>
#include <utmp.h>
#include <unistd.h>

View File

@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: options.c,v 1.8 1997/03/28 15:24:27 imp Exp $
* $Id: options.c,v 1.9 1997/08/29 16:12:27 sos Exp $
*/
#ifndef lint
@ -42,10 +42,8 @@ static char const sccsid[] = "@(#)options.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/mtio.h>
#include <sys/param.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>

View File

@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: pat_rep.c,v 1.9 1997/06/02 06:30:06 charnier Exp $
* $Id: pat_rep.c,v 1.10 1997/08/29 16:12:27 sos Exp $
*/
#ifndef lint
@ -42,9 +42,7 @@ static char const sccsid[] = "@(#)pat_rep.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>

View File

@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: pax.c,v 1.8 1997/02/22 14:04:39 peter Exp $
* $Id: pax.c,v 1.9 1997/08/29 16:12:28 sos Exp $
*/
#ifndef lint
@ -47,17 +47,16 @@ static char const copyright[] =
static char const sccsid[] = "@(#)pax.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <stdio.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <signal.h>
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
#include <locale.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "pax.h"
#include "extern.h"
static int gen_init __P((void));

View File

@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: sel_subs.c,v 1.6 1997/02/22 14:04:41 peter Exp $
* $Id: sel_subs.c,v 1.7 1997/08/29 16:12:29 sos Exp $
*/
#ifndef lint
@ -44,7 +44,6 @@ static char const sccsid[] = "@(#)sel_subs.c 8.1 (Berkeley) 5/31/93";
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <pwd.h>
#include <grp.h>
#include <stdio.h>

View File

@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: tables.c,v 1.8 1997/06/02 06:30:06 charnier Exp $
* $Id: tables.c,v 1.9 1997/08/29 16:12:29 sos Exp $
*/
#ifndef lint
@ -44,13 +44,12 @@ static char const sccsid[] = "@(#)tables.c 8.1 (Berkeley) 5/31/93";
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <sys/fcntl.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include <stdlib.h>
#include "pax.h"
#include "tables.h"
#include "extern.h"

View File

@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: tar.c,v 1.7 1997/02/22 14:04:45 peter Exp $
* $Id: tar.c,v 1.8 1997/08/29 16:12:30 sos Exp $
*/
#ifndef lint
@ -44,7 +44,6 @@ static char const sccsid[] = "@(#)tar.c 8.2 (Berkeley) 4/18/94";
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <string.h>
#include <stdio.h>
#include <unistd.h>

View File

@ -34,7 +34,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: tty_subs.c,v 1.6 1997/02/22 14:04:47 peter Exp $
* $Id: tty_subs.c,v 1.7 1997/08/29 16:12:30 sos Exp $
*/
#ifndef lint
@ -42,12 +42,9 @@ static char const sccsid[] = "@(#)tty_subs.c 8.2 (Berkeley) 4/18/94";
#endif /* not lint */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <fcntl.h>
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>

View File

@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: jobs.c,v 1.15 1997/05/24 21:04:55 steve Exp $
* $Id: jobs.c,v 1.16 1997/08/18 02:53:19 steve Exp $
*/
#ifndef lint
@ -45,7 +45,6 @@ static char const sccsid[] = "@(#)jobs.c 8.5 (Berkeley) 5/4/95";
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/param.h>
#ifdef BSD
#include <sys/wait.h>

View File

@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id$
* $Id: test.c,v 1.17 1997/02/22 14:06:25 peter Exp $
*/
#ifndef lint
@ -46,9 +46,8 @@ static char const copyright[] =
static char const sccsid[] = "@(#)test.c 8.3 (Berkeley) 4/2/94";
#endif /* not lint */
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <ctype.h>
#include <err.h>