Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src Remove some pointless inclusions os sys/user.h
details: https://anonhg.NetBSD.org/src/rev/9b5b59b6880a
branches: trunk
changeset: 326822:9b5b59b6880a
user: dsl <dsl%NetBSD.org@localhost>
date: Wed Feb 19 20:42:14 2014 +0000
description:
Remove some pointless inclusions os sys/user.h
diffstat:
bin/ps/ps.c | 5 ++---
usr.bin/systat/ps.c | 5 ++---
usr.bin/systat/syscall.c | 5 ++---
usr.bin/vmstat/vmstat.c | 5 ++---
usr.bin/w/w.c | 5 ++---
5 files changed, 10 insertions(+), 15 deletions(-)
diffs (122 lines):
diff -r 0fd3e7c79550 -r 9b5b59b6880a bin/ps/ps.c
--- a/bin/ps/ps.c Wed Feb 19 20:40:40 2014 +0000
+++ b/bin/ps/ps.c Wed Feb 19 20:42:14 2014 +0000
@@ -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 @@
#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>
diff -r 0fd3e7c79550 -r 9b5b59b6880a usr.bin/systat/ps.c
--- a/usr.bin/systat/ps.c Wed Feb 19 20:40:40 2014 +0000
+++ b/usr.bin/systat/ps.c Wed Feb 19 20:42:14 2014 +0000
@@ -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>
diff -r 0fd3e7c79550 -r 9b5b59b6880a usr.bin/systat/syscall.c
--- a/usr.bin/systat/syscall.c Wed Feb 19 20:40:40 2014 +0000
+++ b/usr.bin/systat/syscall.c Wed Feb 19 20:42:14 2014 +0000
@@ -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>
diff -r 0fd3e7c79550 -r 9b5b59b6880a usr.bin/vmstat/vmstat.c
--- a/usr.bin/vmstat/vmstat.c Wed Feb 19 20:40:40 2014 +0000
+++ b/usr.bin/vmstat/vmstat.c Wed Feb 19 20:42:14 2014 +0000
@@ -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 @@
#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 @@
#include <sys/socket.h>
#include <sys/sysctl.h>
#include <sys/time.h>
-#include <sys/user.h>
#include <sys/queue.h>
#include <sys/kernhist.h>
diff -r 0fd3e7c79550 -r 9b5b59b6880a usr.bin/w/w.c
--- a/usr.bin/w/w.c Wed Feb 19 20:40:40 2014 +0000
+++ b/usr.bin/w/w.c Wed Feb 19 20:42:14 2014 +0000
@@ -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 @@
#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 @@
#include <sys/stat.h>
#include <sys/sysctl.h>
#include <sys/proc.h>
-#include <sys/user.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
Home |
Main Index |
Thread Index |
Old Index