summaryrefslogtreecommitdiff
path: root/usr.bin/top/machine.c
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2018-05-21 09:25:21 +0000
committerEitan Adler <eadler@FreeBSD.org>2018-05-21 09:25:21 +0000
commit1b7645c629cc855a733e3a5807024d8514e5334a (patch)
tree7f565582a3745466316c1875ffac62fff2fecff9 /usr.bin/top/machine.c
parentdfa5eb70ae8fde688ef8ec0c80c3ac4431254b72 (diff)
downloadsrc-test2-1b7645c629cc855a733e3a5807024d8514e5334a.tar.gz
src-test2-1b7645c629cc855a733e3a5807024d8514e5334a.zip
Notes
Diffstat (limited to 'usr.bin/top/machine.c')
-rw-r--r--usr.bin/top/machine.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/top/machine.c b/usr.bin/top/machine.c
index 88d1340c4e14..51158d2c6526 100644
--- a/usr.bin/top/machine.c
+++ b/usr.bin/top/machine.c
@@ -53,7 +53,6 @@
#define SMPUNAMELEN 13
#define UPUNAMELEN 15
-extern struct process_select ps;
extern struct timeval timeout;
static int smpmode;
enum displaymodes displaymode;
@@ -743,7 +742,7 @@ get_io_total(struct kinfo_proc *pp)
static struct handle handle;
-caddr_t
+void *
get_process_info(struct system_info *si, struct process_select *sel,
int (*compare)(const void *, const void *))
{