summaryrefslogtreecommitdiffstats
path: root/libmount/src/cache.c
diff options
context:
space:
mode:
authorRuediger Meier2016-02-22 23:30:17 +0100
committerRuediger Meier2016-02-23 03:18:09 +0100
commit5fde1d9f066ba794824ae6d8fa44462865a8f5cc (patch)
tree5b8997c70c0f566d0b06e5ac50592932eb07e6fd /libmount/src/cache.c
parentlibfdisk: fix compiler warnings [-Wmissing-prototypes] (diff)
downloadkernel-qcow2-util-linux-5fde1d9f066ba794824ae6d8fa44462865a8f5cc.tar.gz
kernel-qcow2-util-linux-5fde1d9f066ba794824ae6d8fa44462865a8f5cc.tar.xz
kernel-qcow2-util-linux-5fde1d9f066ba794824ae6d8fa44462865a8f5cc.zip
tests: fix compiler warnings [-Wmissing-prototypes]
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libmount/src/cache.c')
-rw-r--r--libmount/src/cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmount/src/cache.c b/libmount/src/cache.c
index b9b607bb0..b83706a37 100644
--- a/libmount/src/cache.c
+++ b/libmount/src/cache.c
@@ -720,7 +720,7 @@ char *mnt_resolve_spec(const char *spec, struct libmnt_cache *cache)
#ifdef TEST_PROGRAM
-int test_resolve_path(struct libmnt_test *ts, int argc, char *argv[])
+static int test_resolve_path(struct libmnt_test *ts, int argc, char *argv[])
{
char line[BUFSIZ];
struct libmnt_cache *cache;
@@ -743,7 +743,7 @@ int test_resolve_path(struct libmnt_test *ts, int argc, char *argv[])
return 0;
}
-int test_resolve_spec(struct libmnt_test *ts, int argc, char *argv[])
+static int test_resolve_spec(struct libmnt_test *ts, int argc, char *argv[])
{
char line[BUFSIZ];
struct libmnt_cache *cache;
@@ -766,7 +766,7 @@ int test_resolve_spec(struct libmnt_test *ts, int argc, char *argv[])
return 0;
}
-int test_read_tags(struct libmnt_test *ts, int argc, char *argv[])
+static int test_read_tags(struct libmnt_test *ts, int argc, char *argv[])
{
char line[BUFSIZ];
struct libmnt_cache *cache;