Renaming
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
diff --git a/src/transports/ssh.c b/src/transports/ssh.c
index 167df03..31625cb 100644
--- a/src/transports/ssh.c
+++ b/src/transports/ssh.c
@@ -404,7 +404,7 @@ on_error:
return -1;
}
-static int _git_uploadpack_ls(
+static int ssh_uploadpack_ls(
ssh_subtransport *t,
const char *url,
git_smart_subtransport_stream **stream)
@@ -415,7 +415,7 @@ static int _git_uploadpack_ls(
return 0;
}
-static int _git_uploadpack(
+static int ssh_uploadpack(
ssh_subtransport *t,
const char *url,
git_smart_subtransport_stream **stream)
@@ -431,7 +431,7 @@ static int _git_uploadpack(
return -1;
}
-static int _git_receivepack_ls(
+static int ssh_receivepack_ls(
ssh_subtransport *t,
const char *url,
git_smart_subtransport_stream **stream)
@@ -442,7 +442,7 @@ static int _git_receivepack_ls(
return 0;
}
-static int _git_receivepack(
+static int ssh_receivepack(
ssh_subtransport *t,
const char *url,
git_smart_subtransport_stream **stream)
@@ -468,16 +468,16 @@ static int _ssh_action(
switch (action) {
case GIT_SERVICE_UPLOADPACK_LS:
- return _git_uploadpack_ls(t, url, stream);
+ return ssh_uploadpack_ls(t, url, stream);
case GIT_SERVICE_UPLOADPACK:
- return _git_uploadpack(t, url, stream);
+ return ssh_uploadpack(t, url, stream);
case GIT_SERVICE_RECEIVEPACK_LS:
- return _git_receivepack_ls(t, url, stream);
+ return ssh_receivepack_ls(t, url, stream);
case GIT_SERVICE_RECEIVEPACK:
- return _git_receivepack(t, url, stream);
+ return ssh_receivepack(t, url, stream);
}
*stream = NULL;