summaryrefslogtreecommitdiffstats
path: root/ctdb/utils
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2014-09-04 13:28:34 +1000
committerAmitay Isaacs <amitay@samba.org>2014-09-10 01:36:14 +0200
commit6674949317dd4b2c1855571ea378eb6bc3b2e86c (patch)
treee8c7a696ad2150b511e323b4b7b9b82276a5cb75 /ctdb/utils
parent5de4a97fe941c27080061480cdd7ed8f60f4438e (diff)
downloadsamba-6674949317dd4b2c1855571ea378eb6bc3b2e86c.tar.gz
samba-6674949317dd4b2c1855571ea378eb6bc3b2e86c.tar.xz
samba-6674949317dd4b2c1855571ea378eb6bc3b2e86c.zip
ctdb-tests: Mark some functions as static
To avoid warnings when using --enable-developer, which uses -Wmissing-prototypes. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb/utils')
-rw-r--r--ctdb/utils/ping_pong/ping_pong.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/utils/ping_pong/ping_pong.c b/ctdb/utils/ping_pong/ping_pong.c
index 16f58d8af2..1d134a1462 100644
--- a/ctdb/utils/ping_pong/ping_pong.c
+++ b/ctdb/utils/ping_pong/ping_pong.c
@@ -71,7 +71,7 @@ static int lock_range(int fd, int offset, int len)
}
/* check whether we could place a lock */
-int check_lock(int fd, int offset, int len)
+static int check_lock(int fd, int offset, int len)
{
struct flock lock;
int ret;