summaryrefslogtreecommitdiffstats
path: root/contrib/top/top.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/top/top.h')
-rw-r--r--contrib/top/top.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/top/top.h b/contrib/top/top.h
index aeed136..59cdeed 100644
--- a/contrib/top/top.h
+++ b/contrib/top/top.h
@@ -1,4 +1,7 @@
/*
+ * $FreeBSD$
+ */
+/*
* Top - a top users display for Berkeley Unix
*
* General (global) definitions
@@ -34,3 +37,6 @@ char *version_string();
#define NUM_AVERAGES 3
+enum displaymodes { DISP_CPU = 0, DISP_IO, DISP_MAX };
+
+extern enum displaymodes displaymode;
OpenPOWER on IntegriCloud