summaryrefslogtreecommitdiff
path: root/t/helper/test-fake-ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 't/helper/test-fake-ssh.c')
-rw-r--r--t/helper/test-fake-ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/helper/test-fake-ssh.c b/t/helper/test-fake-ssh.c
index 980de21..12beee9 100644
--- a/t/helper/test-fake-ssh.c
+++ b/t/helper/test-fake-ssh.c
@@ -2,7 +2,7 @@
#include "run-command.h"
#include "strbuf.h"
-int main(int argc, char **argv)
+int cmd_main(int argc, const char **argv)
{
const char *trash_directory = getenv("TRASH_DIRECTORY");
struct strbuf buf = STRBUF_INIT;