summaryrefslogtreecommitdiff
path: root/t/helper/test-online-cpus.c
diff options
context:
space:
mode:
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;