From 0c5a5ec2526146c8587e0a7b84baae2542724d54 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Tue, 25 Oct 2016 00:53:20 +0300 Subject: [PATCH] Hide AO_locks symbol * src/atomic_ops.c [!_MSC_VER && !__MINGW32__] (AO_locks): Define as static. --- src/atomic_ops.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atomic_ops.c b/src/atomic_ops.c index 30dd21c..5921c9b 100644 --- a/src/atomic_ops.c +++ b/src/atomic_ops.c @@ -94,7 +94,7 @@ #define AO_HASH(x) (((unsigned long)(x) >> 12) & (AO_HASH_SIZE-1)) -AO_TS_t AO_locks[AO_HASH_SIZE] = { +static AO_TS_t AO_locks[AO_HASH_SIZE] = { AO_TS_INITIALIZER, AO_TS_INITIALIZER, AO_TS_INITIALIZER, AO_TS_INITIALIZER, AO_TS_INITIALIZER, AO_TS_INITIALIZER, AO_TS_INITIALIZER, AO_TS_INITIALIZER, AO_TS_INITIALIZER, AO_TS_INITIALIZER, AO_TS_INITIALIZER, AO_TS_INITIALIZER, -- 2.7.4