summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-11-22 20:07:57 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-11-22 20:07:57 +0000
commitdd49e1f5ef76cb9bff3742b73294ed94952254aa (patch)
tree386c7769746d41e2fc04e8c18d76d3f664fa13cc
parent5ab1774f6d65f8b9a0748e40b0834b8ae32ffa65 (diff)
remove unused kernel vars
-rw-r--r--usr.bin/systat/vmstat.c26
1 files changed, 8 insertions, 18 deletions
diff --git a/usr.bin/systat/vmstat.c b/usr.bin/systat/vmstat.c
index 4b9ac43738b..b41eca9f63b 100644
--- a/usr.bin/systat/vmstat.c
+++ b/usr.bin/systat/vmstat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmstat.c,v 1.9 1997/11/22 14:19:23 kstailey Exp $ */
+/* $OpenBSD: vmstat.c,v 1.10 1997/11/22 20:07:56 mickey Exp $ */
/* $NetBSD: vmstat.c,v 1.5 1996/05/10 23:16:40 thorpej Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 1/12/94";
#endif
-static char rcsid[] = "$OpenBSD: vmstat.c,v 1.9 1997/11/22 14:19:23 kstailey Exp $";
+static char rcsid[] = "$OpenBSD: vmstat.c,v 1.10 1997/11/22 20:07:56 mickey Exp $";
#endif /* not lint */
/*
@@ -148,28 +148,18 @@ static struct nlist namelist[] = {
{ "_cnt" },
#define X_TOTAL 2
{ "_total" },
-#define X_DK_BUSY 3
- { "_dk_busy" },
-#define X_DK_TIME 4
- { "_dk_time" },
-#define X_DK_XFER 5
- { "_dk_xfer" },
-#define X_DK_WDS 6
- { "_dk_wds" },
-#define X_DK_SEEK 7
- { "_dk_seek" },
-#define X_NCHSTATS 8
+#define X_NCHSTATS 3
{ "_nchstats" },
-#define X_INTRNAMES 9
+#define X_INTRNAMES 4
{ "_intrnames" },
-#define X_EINTRNAMES 10
+#define X_EINTRNAMES 5
{ "_eintrnames" },
-#define X_INTRCNT 11
+#define X_INTRCNT 6
{ "_intrcnt" },
-#define X_EINTRCNT 12
+#define X_EINTRCNT 7
{ "_eintrcnt" },
#if defined(i386)
-#define X_INTRHAND 13
+#define X_INTRHAND 8
{ "_intrhand" },
#endif
{ "" },