summaryrefslogtreecommitdiff
path: root/t/helper/test-subprocess.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-subprocess.c')
-rw-r--r--t/helper/test-subprocess.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-subprocess.c b/t/helper/test-subprocess.c
index 30c5765bfc..92b69de635 100644
--- a/t/helper/test-subprocess.c
+++ b/t/helper/test-subprocess.c
@@ -1,7 +1,8 @@
+#include "test-tool.h"
#include "cache.h"
#include "run-command.h"
-int cmd_main(int argc, const char **argv)
+int cmd__subprocess(int argc, const char **argv)
{
struct child_process cp = CHILD_PROCESS_INIT;
int nogit = 0;