Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/systat include sys/sched.h to get definition of CPUS...



details:   https://anonhg.NetBSD.org/src/rev/263607f7631c
branches:  trunk
changeset: 487175:263607f7631c
user:      perry <perry%NetBSD.org@localhost>
date:      Sun Jun 04 01:53:51 2000 +0000

description:
include sys/sched.h to get definition of CPUSTATES

diffstat:

 usr.bin/systat/pigs.c   |  5 +++--
 usr.bin/systat/ps.c     |  5 +++--
 usr.bin/systat/vmstat.c |  5 +++--
 3 files changed, 9 insertions(+), 6 deletions(-)

diffs (78 lines):

diff -r c06adfb7fdd6 -r 263607f7631c usr.bin/systat/pigs.c
--- a/usr.bin/systat/pigs.c     Sun Jun 04 01:39:49 2000 +0000
+++ b/usr.bin/systat/pigs.c     Sun Jun 04 01:53:51 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pigs.c,v 1.16 2000/01/08 23:12:37 itojun Exp $ */
+/*     $NetBSD: pigs.c,v 1.17 2000/06/04 01:53:51 perry Exp $  */
 
 /*-
  * Copyright (c) 1980, 1992, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)pigs.c     8.2 (Berkeley) 9/23/93";
 #endif
-__RCSID("$NetBSD: pigs.c,v 1.16 2000/01/08 23:12:37 itojun Exp $");
+__RCSID("$NetBSD: pigs.c,v 1.17 2000/06/04 01:53:51 perry Exp $");
 #endif /* not lint */
 
 /*
@@ -50,6 +50,7 @@
 #include <sys/dir.h>
 #include <sys/time.h>
 #include <sys/proc.h>
+#include <sys/sched.h>
 #include <sys/sysctl.h>
 
 #include <curses.h>
diff -r c06adfb7fdd6 -r 263607f7631c usr.bin/systat/ps.c
--- a/usr.bin/systat/ps.c       Sun Jun 04 01:39:49 2000 +0000
+++ b/usr.bin/systat/ps.c       Sun Jun 04 01:53:51 2000 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: ps.c,v 1.14 2000/06/02 04:32:07 thorpej Exp $  */
+/*      $NetBSD: ps.c,v 1.15 2000/06/04 01:53:51 perry Exp $  */
 
 /*-
  * Copyright (c) 1999
@@ -45,7 +45,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: ps.c,v 1.14 2000/06/02 04:32:07 thorpej Exp $");
+__RCSID("$NetBSD: ps.c,v 1.15 2000/06/04 01:53:51 perry Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -53,6 +53,7 @@
 #include <sys/dir.h>
 #include <sys/time.h>
 #include <sys/proc.h>
+#include <sys/sched.h>
 #include <sys/sysctl.h>
 #include <sys/user.h>
 #include <curses.h>
diff -r c06adfb7fdd6 -r 263607f7631c usr.bin/systat/vmstat.c
--- a/usr.bin/systat/vmstat.c   Sun Jun 04 01:39:49 2000 +0000
+++ b/usr.bin/systat/vmstat.c   Sun Jun 04 01:53:51 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmstat.c,v 1.25 2000/05/29 12:54:31 simonb Exp $       */
+/*     $NetBSD: vmstat.c,v 1.26 2000/06/04 01:53:51 perry Exp $        */
 
 /*-
  * Copyright (c) 1983, 1989, 1992, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)vmstat.c   8.2 (Berkeley) 1/12/94";
 #endif
-__RCSID("$NetBSD: vmstat.c,v 1.25 2000/05/29 12:54:31 simonb Exp $");
+__RCSID("$NetBSD: vmstat.c,v 1.26 2000/06/04 01:53:51 perry Exp $");
 #endif /* not lint */
 
 /*
@@ -53,6 +53,7 @@
 #include <sys/user.h>
 #include <sys/proc.h>
 #include <sys/namei.h>
+#include <sys/sched.h>
 #include <sys/sysctl.h>
 
 #include <vm/vm.h>



Home | Main Index | Thread Index | Old Index