summaryrefslogtreecommitdiff
path: root/t/helper/test-regex.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-regex.c')
-rw-r--r--t/helper/test-regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-regex.c b/t/helper/test-regex.c
index 0dc598ecdc..37b7f06e55 100644
--- a/t/helper/test-regex.c
+++ b/t/helper/test-regex.c
@@ -1,6 +1,6 @@
#include "git-compat-util.h"
-int main(int argc, char **argv)
+int cmd_main(int argc, const char **argv)
{
char *pat = "[^={} \t]+";
char *str = "={}\nfred";