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:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user