summaryrefslogtreecommitdiff
path: root/toys/other/taskset.c
diff options
context:
space:
mode:
authorHyejin Kim <hyejin0906.kim@samsung.com>2015-08-12 11:22:10 +0900
committerHyejin Kim <hyejin0906.kim@samsung.com>2015-08-12 11:22:10 +0900
commitc55b214458bed6f6c6dc57e3fccfc8dc8558e7ee (patch)
tree393225b618c69acab92208a350c401c408fcc252 /toys/other/taskset.c
parentc353de2e55d0f64f4b11dbc242f8319674650c54 (diff)
parent05499787ca89fa4b017c2441e89020799f02e4c1 (diff)
downloadtoybox-c55b214458bed6f6c6dc57e3fccfc8dc8558e7ee.tar.gz
toybox-c55b214458bed6f6c6dc57e3fccfc8dc8558e7ee.tar.bz2
toybox-c55b214458bed6f6c6dc57e3fccfc8dc8558e7ee.zip
Merge remote-tracking branch 'toybox/master' into upstreamupstream
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++;