summaryrefslogtreecommitdiffstats
path: root/src/cgtop/cgtop.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-13 12:28:28 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-13 12:28:28 +0100
commitdd422d1e5b6a62bc634ae22d0627f70d4900814b (patch)
tree6772b1bb6db5cfc788339f4fe397c1ec3fd305e0 /src/cgtop/cgtop.c
parentutil: drop two unused calls from src/basic/ (diff)
downloadsystemd-dd422d1e5b6a62bc634ae22d0627f70d4900814b.tar.xz
systemd-dd422d1e5b6a62bc634ae22d0627f70d4900814b.zip
tree-wide: make more global variables static
let's export as little as we can
Diffstat (limited to 'src/cgtop/cgtop.c')
-rw-r--r--src/cgtop/cgtop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c
index 60d6da3246..9c0e82ebb3 100644
--- a/src/cgtop/cgtop.c
+++ b/src/cgtop/cgtop.c
@@ -72,13 +72,13 @@ static bool arg_batch = false;
static bool arg_raw = false;
static usec_t arg_delay = 1*USEC_PER_SEC;
static char* arg_machine = NULL;
+static bool arg_recursive = true;
-enum {
+static enum {
COUNT_PIDS,
COUNT_USERSPACE_PROCESSES,
COUNT_ALL_PROCESSES,
} arg_count = COUNT_PIDS;
-static bool arg_recursive = true;
static enum {
ORDER_PATH,