aboutsummaryrefslogtreecommitdiffstats
path: root/btrfs-find-root.c
diff options
context:
space:
mode:
authorZach Brown <zab@redhat.com>2013-08-14 16:16:36 -0700
committerDavid Sterba <dsterba@suse.cz>2013-09-03 19:41:04 +0200
commit51c5811583536b5c7c7e140aef9312fec28d75f0 (patch)
treeaae9b0b73ebb96a4aae13d846a49b5fa82895a14 /btrfs-find-root.c
parentfd074864c4cc319f1969b9b3513cef654a6648ea (diff)
downloadbtrfs-progs-51c5811583536b5c7c7e140aef9312fec28d75f0.tar.gz
btrfs-progs-51c5811583536b5c7c7e140aef9312fec28d75f0.tar.xz
btrfs-progs-51c5811583536b5c7c7e140aef9312fec28d75f0.zip
btrfs-print: define void function args
This silences (reasonable) sparse warnings of the form: warning: non-ANSI function declaration of .. Signed-off-by: Zach Brown <zab@redhat.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'btrfs-find-root.c')
-rw-r--r--btrfs-find-root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btrfs-find-root.c b/btrfs-find-root.c
index 1a7a80c..b48c800 100644
--- a/btrfs-find-root.c
+++ b/btrfs-find-root.c
@@ -40,7 +40,7 @@ static u64 search_objectid = BTRFS_ROOT_TREE_OBJECTID;
static u64 search_generation = 0;
static unsigned long search_level = 0;
-static void usage()
+static void usage(void)
{
fprintf(stderr, "Usage: find-roots [-o search_objectid] "
"[ -g search_generation ] [ -l search_level ] <device>\n");