summaryrefslogtreecommitdiff
path: root/quick-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 /quick-test.c
parent116123c5f21bdb9e35abaf470592186c2353920c (diff)
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 'quick-test.c')
-rw-r--r--quick-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quick-test.c b/quick-test.c
index aaedd190..b12b9ef9 100644
--- a/quick-test.c
+++ b/quick-test.c
@@ -27,7 +27,7 @@
#include "transaction.h"
/* for testing only */
-int next_key(int i, int max_key) {
+static int next_key(int i, int max_key) {
return rand() % max_key;
// return i;
}