mirror of
https://github.com/git/git.git
synced 2026-04-12 01:40:10 +02:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user