summaryrefslogtreecommitdiffstats
path: root/libmount/src/monitor.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/monitor.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/monitor.c')
-rw-r--r--libmount/src/monitor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmount/src/monitor.c b/libmount/src/monitor.c
index 9bc7ea32a..a71f2f503 100644
--- a/libmount/src/monitor.c
+++ b/libmount/src/monitor.c
@@ -863,7 +863,7 @@ err:
/*
* create a monitor and add the monitor fd to epoll
*/
-int __test_epoll(struct libmnt_test *ts, int argc, char *argv[], int cleanup)
+static int __test_epoll(struct libmnt_test *ts, int argc, char *argv[], int cleanup)
{
int fd, efd = -1, rc = -1;
struct epoll_event ev;
@@ -927,12 +927,12 @@ done:
/*
* create a monitor and add the monitor fd to epoll
*/
-int test_epoll(struct libmnt_test *ts, int argc, char *argv[])
+static int test_epoll(struct libmnt_test *ts, int argc, char *argv[])
{
return __test_epoll(ts, argc, argv, 0);
}
-int test_epoll_cleanup(struct libmnt_test *ts, int argc, char *argv[])
+static int test_epoll_cleanup(struct libmnt_test *ts, int argc, char *argv[])
{
return __test_epoll(ts, argc, argv, 1);
}
@@ -940,7 +940,7 @@ int test_epoll_cleanup(struct libmnt_test *ts, int argc, char *argv[])
/*
* create a monitor and wait for a change
*/
-int test_wait(struct libmnt_test *ts, int argc, char *argv[])
+static int test_wait(struct libmnt_test *ts, int argc, char *argv[])
{
const char *filename;
struct libmnt_monitor *mn = create_test_monitor(argc, argv);