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.
This commit is contained in:
Linus Torvalds
2005-07-03 10:10:45 -07:00
parent 44c9e8594e
commit 6da4016aea
9 changed files with 18 additions and 18 deletions

View File

@@ -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);