aboutsummaryrefslogtreecommitdiff
path: root/toys/other/taskset.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-08-02 21:51:41 -0500
committerRob Landley <rob@landley.net>2015-08-02 21:51:41 -0500
commit7a3f53ba446ae2600763ee37b7f8dcc91de3ec5f (patch)
tree3c74019a20c6d23f18409ef026727b3195d3b6ee /toys/other/taskset.c
parent3aa1d18b727ded4415d8a5f34f90a0726213aa7f (diff)
downloadtoybox-7a3f53ba446ae2600763ee37b7f8dcc91de3ec5f.tar.gz
Mark command-local functions static.
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 28519231..4ade5f10 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++;