summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-helper.c
diff options
context:
space:
mode:
authorHarshavardhana <harsha@harshavardhana.net>2014-08-26 14:57:42 -0700
committerHarshavardhana <harsha@harshavardhana.net>2014-08-29 02:11:25 -0700
commit04be6a47df5c7d5c04c84fed06df9a8a1652c582 (patch)
tree045cad81df4563d15c4dab8b496cf5d95eb8d651 /xlators/cluster/dht/src/dht-helper.c
parent98583a509f1c4ab3cdc20df668e11774fa65085b (diff)
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 <harsha@harshavardhana.net> Reviewed-on: http://review.gluster.org/8547 Tested-by: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators/cluster/dht/src/dht-helper.c')
-rw-r--r--xlators/cluster/dht/src/dht-helper.c2
1 files changed, 1 insertions, 1 deletions
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;