Remove some pointless inclusions os sys/user.h

This commit is contained in:
dsl 2014-02-19 20:42:14 +00:00
parent 9d2a4e6101
commit dc210c7fbd
5 changed files with 10 additions and 15 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ps.c,v 1.79 2014/01/15 08:09:10 mlelstv Exp $ */
/* $NetBSD: ps.c,v 1.80 2014/02/19 20:42:14 dsl Exp $ */
/*
* Copyright (c) 2000-2008 The NetBSD Foundation, Inc.
@ -68,12 +68,11 @@ __COPYRIGHT("@(#) Copyright (c) 1990, 1993, 1994\
#if 0
static char sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94";
#else
__RCSID("$NetBSD: ps.c,v 1.79 2014/01/15 08:09:10 mlelstv Exp $");
__RCSID("$NetBSD: ps.c,v 1.80 2014/02/19 20:42:14 dsl Exp $");
#endif
#endif /* not lint */
#include <sys/param.h>
#include <sys/user.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/lwp.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: ps.c,v 1.35 2011/08/17 13:26:49 christos Exp $ */
/* $NetBSD: ps.c,v 1.36 2014/02/19 20:42:14 dsl Exp $ */
/*-
* Copyright (c) 1999
@ -45,13 +45,12 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: ps.c,v 1.35 2011/08/17 13:26:49 christos Exp $");
__RCSID("$NetBSD: ps.c,v 1.36 2014/02/19 20:42:14 dsl Exp $");
#endif /* not lint */
#include <sys/param.h>
#include <sys/sched.h>
#include <sys/sysctl.h>
#include <sys/user.h>
#include <curses.h>
#include <math.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: syscall.c,v 1.8 2012/11/23 00:05:18 christos Exp $ */
/* $NetBSD: syscall.c,v 1.9 2014/02/19 20:42:14 dsl Exp $ */
/*-
* Copyright (c) 2006 The NetBSD Foundation, Inc.
@ -30,12 +30,11 @@
*/
#include <sys/cdefs.h>
__RCSID("$NetBSD: syscall.c,v 1.8 2012/11/23 00:05:18 christos Exp $");
__RCSID("$NetBSD: syscall.c,v 1.9 2014/02/19 20:42:14 dsl Exp $");
/* System call stats */
#include <sys/param.h>
#include <sys/user.h>
#include <sys/namei.h>
#include <sys/sysctl.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: vmstat.c,v 1.190 2013/11/24 21:58:38 rmind Exp $ */
/* $NetBSD: vmstat.c,v 1.191 2014/02/19 20:42:14 dsl Exp $ */
/*-
* Copyright (c) 1998, 2000, 2001, 2007 The NetBSD Foundation, Inc.
@ -70,7 +70,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1986, 1991, 1993\
#if 0
static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 3/1/95";
#else
__RCSID("$NetBSD: vmstat.c,v 1.190 2013/11/24 21:58:38 rmind Exp $");
__RCSID("$NetBSD: vmstat.c,v 1.191 2014/02/19 20:42:14 dsl Exp $");
#endif
#endif /* not lint */
@ -93,7 +93,6 @@ __RCSID("$NetBSD: vmstat.c,v 1.190 2013/11/24 21:58:38 rmind Exp $");
#include <sys/socket.h>
#include <sys/sysctl.h>
#include <sys/time.h>
#include <sys/user.h>
#include <sys/queue.h>
#include <sys/kernhist.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: w.c,v 1.77 2013/09/09 19:20:38 christos Exp $ */
/* $NetBSD: w.c,v 1.78 2014/02/19 20:42:14 dsl Exp $ */
/*-
* Copyright (c) 1980, 1991, 1993, 1994
@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1991, 1993, 1994\
#if 0
static char sccsid[] = "@(#)w.c 8.6 (Berkeley) 6/30/94";
#else
__RCSID("$NetBSD: w.c,v 1.77 2013/09/09 19:20:38 christos Exp $");
__RCSID("$NetBSD: w.c,v 1.78 2014/02/19 20:42:14 dsl Exp $");
#endif
#endif /* not lint */
@ -55,7 +55,6 @@ __RCSID("$NetBSD: w.c,v 1.77 2013/09/09 19:20:38 christos Exp $");
#include <sys/stat.h>
#include <sys/sysctl.h>
#include <sys/proc.h>
#include <sys/user.h>
#include <sys/ioctl.h>
#include <sys/socket.h>