From 635d37afff321a9c296ed5d6e0203f2a1c91373f Mon Sep 17 00:00:00 2001 From: Alecs King Date: Thu, 4 Aug 2005 11:35:37 +0800 Subject: [PATCH] Fix sparse warnings fix one 'should it be static?' warning and two 'mixing declarations and code' warnings. Signed-off-by: Alecs King Signed-off-by: Junio C Hamano --- ssh-pull.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssh-pull.c') 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) { -- cgit v1.2.3