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

@ -25,7 +25,7 @@ struct command {
char ref_name[0];
};
struct command *commands = NULL;
static struct command *commands = NULL;
static int is_all_zeroes(const char *hex)
{