summaryrefslogtreecommitdiffstats
path: root/ctdb/utils
diff options
context:
space:
mode:
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;