sparse cleanup
Fix various things that sparse complains about:
- use NULL instead of 0
- make sure we declare everything properly, or mark it static
- use proper function declarations ("fn(void)" instead of "fn()")
Sparse is always right.
This commit is contained in:
@ -179,7 +179,7 @@ static int cmp_name(const void *p1, const void *p2)
|
||||
e2->name, e2->len);
|
||||
}
|
||||
|
||||
static void show_killed_files()
|
||||
static void show_killed_files(void)
|
||||
{
|
||||
int i;
|
||||
for (i = 0; i < nr_dir; i++) {
|
||||
|
||||
Reference in New Issue
Block a user