summaryrefslogtreecommitdiff
path: root/t/helper/test-online-cpus.c
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-03-24 08:44:48 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-03-27 08:45:47 -0700
commitc033cc15087da35edf2c4d634d664a73eed6c5e8 (patch)
treeea263c3d0f095d39824350c115020a28caba19e7 /t/helper/test-online-cpus.c
parentt/helper: merge test-mktemp into test-tool (diff)
downloadtgif-c033cc15087da35edf2c4d634d664a73eed6c5e8.tar.xz
t/helper: merge test-online-cpus into test-tool
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/helper/test-online-cpus.c')
-rw-r--r--t/helper/test-online-cpus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-online-cpus.c b/t/helper/test-online-cpus.c
index 06c09c6b88..8cb0d53840 100644
--- a/t/helper/test-online-cpus.c
+++ b/t/helper/test-online-cpus.c
@@ -1,7 +1,8 @@
+#include "test-tool.h"
#include "git-compat-util.h"
#include "thread-utils.h"
-int cmd_main(int argc, const char **argv)
+int cmd__online_cpus(int argc, const char **argv)
{
printf("%d\n", online_cpus());
return 0;