Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jh/clean-smudge-f-doc'
[gitweb.git]
/
t
/
helper
/
test-string-list.c
diff --git
a/t/helper/test-string-list.c
b/t/helper/test-string-list.c
index 14bdf9d2153a98d0b2a5d03395c1adcc166f8a07..4a68967bd126e5ab74ec2b39113cce58e7c021bf 100644
(file)
--- a/
t/helper/test-string-list.c
+++ b/
t/helper/test-string-list.c
@@
-41,7
+41,7
@@
static int prefix_cb(struct string_list_item *item, void *cb_data)
return starts_with(item->string, prefix);
}
-int
main(int argc,
char **argv)
+int
cmd_main(int argc, const
char **argv)
{
if (argc == 5 && !strcmp(argv[1], "split")) {
struct string_list list = STRING_LIST_INIT_DUP;