aboutsummaryrefslogtreecommitdiffstats
path: root/cmds-device.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2015-09-14 23:39:28 +0200
committerDavid Sterba <dsterba@suse.com>2015-09-14 23:45:53 +0200
commitfe2657a7077188b1cda2e99eb0193cc9feddf3de (patch)
treea9a37d19bde9908fb2352fea3371b3c37295256d /cmds-device.c
parent8ede30c220544034d2732b84d3438aa25bac4c11 (diff)
downloadbtrfs-progs-fe2657a7077188b1cda2e99eb0193cc9feddf3de.tar.gz
btrfs-progs-fe2657a7077188b1cda2e99eb0193cc9feddf3de.tar.xz
btrfs-progs-fe2657a7077188b1cda2e99eb0193cc9feddf3de.zip
btrfs-progs: cleanup, mark more functions static
Reported by sparse. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-device.c')
-rw-r--r--cmds-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds-device.c b/cmds-device.c
index 195ae2d..2bb6bcb 100644
--- a/cmds-device.c
+++ b/cmds-device.c
@@ -507,7 +507,7 @@ out:
return ret;
}
-int cmd_device_usage(int argc, char **argv)
+static int cmd_device_usage(int argc, char **argv)
{
unsigned unit_mode;
int ret = 0;