summaryrefslogtreecommitdiff
path: root/test-fake-ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-fake-ssh.c')
-rw-r--r--test-fake-ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-fake-ssh.c b/test-fake-ssh.c
index 980de216e1..12beee99ad 100644
--- a/test-fake-ssh.c
+++ b/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;