summaryrefslogtreecommitdiff
path: root/test-regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-regex.c')
-rw-r--r--test-regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-regex.c b/test-regex.c
index 0dc598ecdc..37b7f06e55 100644
--- a/test-regex.c
+++ b/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";