From 04be6a47df5c7d5c04c84fed06df9a8a1652c582 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Tue, 26 Aug 2014 14:57:42 -0700 Subject: dht: Avoid using inline, if necessary use it with 'static inline' This avoids flat namespace problems on OSX and with clang Change-Id: Id80d94d71b120c6b1166218caa8cf9cf7f2da03a BUG: 1130888 Signed-off-by: Harshavardhana Reviewed-on: http://review.gluster.org/8547 Tested-by: Gluster Build System --- xlators/cluster/dht/src/dht-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xlators') diff --git a/xlators/cluster/dht/src/dht-helper.c b/xlators/cluster/dht/src/dht-helper.c index b9715c6d1b6..2d32f69580b 100644 --- a/xlators/cluster/dht/src/dht-helper.c +++ b/xlators/cluster/dht/src/dht-helper.c @@ -1415,7 +1415,7 @@ dht_inodelk_cleanup_cbk (call_frame_t *frame, void *cookie, return 0; } -inline int32_t +static inline int32_t dht_lock_count (dht_lock_t **lk_array, int lk_count) { int i = 0, locked = 0; -- cgit