summaryrefslogtreecommitdiff
path: root/t/helper/test-sigchain.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-sigchain.c')
-rw-r--r--t/helper/test-sigchain.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/helper/test-sigchain.c b/t/helper/test-sigchain.c
index b71edbd..d013bcc 100644
--- a/t/helper/test-sigchain.c
+++ b/t/helper/test-sigchain.c
@@ -1,3 +1,4 @@
+#include "test-tool.h"
#include "cache.h"
#include "sigchain.h"
@@ -13,7 +14,8 @@ X(two)
X(three)
#undef X
-int cmd_main(int argc, const char **argv) {
+int cmd__sigchain(int argc, const char **argv)
+{
sigchain_push(SIGTERM, one);
sigchain_push(SIGTERM, two);
sigchain_push(SIGTERM, three);