btrfs-progs: tests: fix build -Wmissing-prototypes warnings
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
d8317a445c
commit
634e9a4792
|
@ -192,7 +192,7 @@ static struct btrfs_ioctl_dev_replace_args used_replace_args __attribute__((used
|
|||
static struct btrfs_ioctl_same_args used_same_args __attribute__((used));
|
||||
static struct btrfs_ioctl_feature_flags used_feature_flags __attribute__((used));
|
||||
|
||||
const char* value_to_string(unsigned long num)
|
||||
static const char* value_to_string(unsigned long num)
|
||||
{
|
||||
#define ONE(x) case x: return #x;
|
||||
switch (num) {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
#include "common/utils.h"
|
||||
#include "common/string-table.h"
|
||||
|
||||
void test_simple_create_free()
|
||||
static void test_simple_create_free()
|
||||
{
|
||||
struct string_table *tab;
|
||||
|
||||
|
@ -38,7 +38,7 @@ void test_simple_create_free()
|
|||
table_free(tab);
|
||||
}
|
||||
|
||||
void test_simple_header()
|
||||
static void test_simple_header()
|
||||
{
|
||||
struct string_table *tab;
|
||||
int i;
|
||||
|
@ -68,7 +68,7 @@ void test_simple_header()
|
|||
table_free(tab);
|
||||
}
|
||||
|
||||
void test_simple_paginate()
|
||||
static void test_simple_paginate()
|
||||
{
|
||||
struct string_table *tab;
|
||||
unsigned int page_size = 4;
|
||||
|
|
Loading…
Reference in New Issue