From 6da4016aea2dc5bf311fea160bd8ef96ca82b999 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Sun, 3 Jul 2005 10:10:45 -0700 Subject: Fix sparse warnings. Mainly making a lot of local functions and variables be marked "static", but there was a "zero as NULL" warning in there too. --- 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 87d523899a..26356dd7d8 100644 --- a/ssh-pull.c +++ b/ssh-pull.c @@ -29,7 +29,7 @@ int fetch(unsigned char *sha1) return ret; } -int get_version(void) +static int get_version(void) { char type = 'v'; write(fd_out, &type, 1); -- cgit v1.2.1