summaryrefslogtreecommitdiff
path: root/usr.bin/top/display.c
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2007-09-30 13:26:40 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2007-09-30 13:26:40 +0000
commit3985bddbec0753eebdf14e6cc26fe077823c9211 (patch)
tree3c6b62efaef915860c61448f6b9e0d99219a2727 /usr.bin/top/display.c
parentbf235b83a1b1373d5ee7f39870fdbc5eaf88f15e (diff)
unused static var; from Mark Lumsden
Diffstat (limited to 'usr.bin/top/display.c')
-rw-r--r--usr.bin/top/display.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/top/display.c b/usr.bin/top/display.c
index 8e4c51005ba..d56c73df4ab 100644
--- a/usr.bin/top/display.c
+++ b/usr.bin/top/display.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: display.c,v 1.28 2007/07/27 14:01:16 deraadt Exp $ */
+/* $OpenBSD: display.c,v 1.29 2007/09/30 13:26:39 otto Exp $ */
/*
* Top users/processes display for Unix
@@ -69,7 +69,6 @@
FILE *debug;
#endif
-static pid_t lmpid = 0;
static int display_width = MAX_COLS;
static char *cpustates_tag(int);
@@ -235,8 +234,6 @@ i_loadave(pid_t mpid, double *avenrun)
for (i = 0; i < 3; i++)
printwp("%c %5.2f", i == 0 ? ':' : ',', avenrun[i]);
-
- lmpid = mpid;
}
/*