Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlecs King <alecsk@gmail.com>2005-08-04 07:35:37 +0400
committerJunio C Hamano <junkio@cox.net>2005-08-04 08:41:56 +0400
commit635d37afff321a9c296ed5d6e0203f2a1c91373f (patch)
tree74400f7c5508ef9cb635d8a9cab95dfe81747003 /ssh-pull.c
parent20f6633112c2a95b4907b4ff2e41e3c450395d34 (diff)
[PATCH] Fix sparse warnings
fix one 'should it be static?' warning and two 'mixing declarations and code' warnings. Signed-off-by: Alecs King <alecsk@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'ssh-pull.c')
-rw-r--r--ssh-pull.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh-pull.c b/ssh-pull.c
index bdc99dfdc5..b7f313bf27 100644
--- a/ssh-pull.c
+++ b/ssh-pull.c
@@ -10,7 +10,7 @@ static int fd_out;
static unsigned char remote_version = 0;
static unsigned char local_version = 1;
-ssize_t force_write(int fd, void *buffer, size_t length)
+static ssize_t force_write(int fd, void *buffer, size_t length)
{
ssize_t ret = 0;
while (ret < length) {