diff options
author | Alecs King <alecsk@gmail.com> | 2005-08-04 11:35:37 +0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-08-03 21:41:56 -0700 |
commit | 635d37afff321a9c296ed5d6e0203f2a1c91373f (patch) | |
tree | 74400f7c5508ef9cb635d8a9cab95dfe81747003 /ssh-pull.c | |
parent | 20f6633112c2a95b4907b4ff2e41e3c450395d34 (diff) | |
download | git-635d37afff321a9c296ed5d6e0203f2a1c91373f.tar.gz git-635d37afff321a9c296ed5d6e0203f2a1c91373f.tar.xz |
[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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh-pull.c b/ssh-pull.c index bdc99dfdc..b7f313bf2 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) { |