Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
grep: enable recurse-submodules to work on <tree> objects
[gitweb.git]
/
t
/
helper
/
test-line-buffer.c
diff --git
a/t/helper/test-line-buffer.c
b/t/helper/test-line-buffer.c
index 1e58f0476f3465f9b8b361cc4776abf5c051430b..81575fe2ab91b550067ce8180650b003bdd939b7 100644
(file)
--- a/
t/helper/test-line-buffer.c
+++ b/
t/helper/test-line-buffer.c
@@
-50,7
+50,7
@@
static void handle_line(const char *line, struct line_buffer *stdin_buf)
handle_command(line, arg + 1, stdin_buf);
}
-int
main(int argc, char *argv[]
)
+int
cmd_main(int argc, const char **argv
)
{
struct line_buffer stdin_buf = LINE_BUFFER_INIT;
struct line_buffer file_buf = LINE_BUFFER_INIT;