aboutsummaryrefslogtreecommitdiffstats
path: root/ioctl-test.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2013-08-09 15:20:47 -0500
committerDavid Sterba <dsterba@suse.cz>2013-09-03 19:40:54 +0200
commitfa25b35dcc39854a9f7399af86e56a34171f63a4 (patch)
tree21d7485eacb2cd1314170859ea7ed316e65052a5 /ioctl-test.c
parent116123c5f21bdb9e35abaf470592186c2353920c (diff)
downloadbtrfs-progs-fa25b35dcc39854a9f7399af86e56a34171f63a4.tar.gz
btrfs-progs-fa25b35dcc39854a9f7399af86e56a34171f63a4.tar.xz
btrfs-progs-fa25b35dcc39854a9f7399af86e56a34171f63a4.zip
btrfs-progs: mark static & remove unused from non-kernel code
Mark many functions as static, and remove any resulting dead code. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Signed-off-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'ioctl-test.c')
-rw-r--r--ioctl-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ioctl-test.c b/ioctl-test.c
index 1c27d61..54fc013 100644
--- a/ioctl-test.c
+++ b/ioctl-test.c
@@ -3,7 +3,7 @@
#include "kerncompat.h"
#include "ioctl.h"
-unsigned long ioctls[] = {
+static unsigned long ioctls[] = {
BTRFS_IOC_SNAP_CREATE,
BTRFS_IOC_DEFRAG,
BTRFS_IOC_RESIZE,