summaryrefslogtreecommitdiff
path: root/toys/other/taskset.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/taskset.c')
-rw-r--r--toys/other/taskset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/taskset.c b/toys/other/taskset.c
index 2851923..4ade5f1 100644
--- a/toys/other/taskset.c
+++ b/toys/other/taskset.c
@@ -120,7 +120,7 @@ void taskset_main(void)
}
}
-int do_nproc(struct dirtree *new)
+static int do_nproc(struct dirtree *new)
{
if (!new->parent) return DIRTREE_RECURSE;
if (!strncmp(new->name, "cpu", 3) && isdigit(new->name[3])) TT.nproc++;