btrfs-progs: cleanup, update function definitions to be ANSI conformant
Sparse reports: warning: non-ANSI function declaration of function and we're using func(void) elsewhere. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
fe2657a707
commit
c985a2b104
|
@ -421,7 +421,7 @@ out:
|
|||
return ret;
|
||||
}
|
||||
|
||||
static void usage()
|
||||
static void usage(void)
|
||||
{
|
||||
fprintf(stderr, "Usage: calc-size [-v] [-b] <device>\n");
|
||||
}
|
||||
|
|
2
qgroup.c
2
qgroup.c
|
@ -272,7 +272,7 @@ static void print_single_qgroup_table(struct btrfs_qgroup *qgroup)
|
|||
printf("\n");
|
||||
}
|
||||
|
||||
static void print_table_head()
|
||||
static void print_table_head(void)
|
||||
{
|
||||
int i;
|
||||
int len;
|
||||
|
|
Loading…
Reference in New Issue