summaryrefslogtreecommitdiff
path: root/t/helper/test-sha1.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-sha1.c')
-rw-r--r--t/helper/test-sha1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/helper/test-sha1.c b/t/helper/test-sha1.c
index a1c13f54ec..1ba0675c75 100644
--- a/t/helper/test-sha1.c
+++ b/t/helper/test-sha1.c
@@ -1,6 +1,7 @@
+#include "test-tool.h"
#include "cache.h"
-int cmd_main(int ac, const char **av)
+int cmd__sha1(int ac, const char **av)
{
git_SHA_CTX ctx;
unsigned char sha1[20];