Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
add an extra level of indirection to main()
[gitweb.git]
/
test-regex.c
diff --git
a/test-regex.c
b/test-regex.c
index 0dc598ecdc2696af956b1c517166f9e28b37dc68..37b7f06e552ef51c852f54e70d66c434ca50b6b2 100644
(file)
--- 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";