From 110b0dcc9b29f7aca880b6d77acd15890d37508f Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Fri, 8 Dec 2017 19:04:50 +0300 Subject: [PATCH] Do not define copy_before_cas() as inline (fix commit 6ffda1d) * src/atomic_ops_stack.c (AO_copy_before_cas): Replace AO_INLINE with static. --- src/atomic_ops_stack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/atomic_ops_stack.c b/src/atomic_ops_stack.c index e43ba3d..0a6124a 100644 --- a/src/atomic_ops_stack.c +++ b/src/atomic_ops_stack.c @@ -25,7 +25,7 @@ /* The function call must be a part of a do-while loop with a CAS */ /* designating the condition of the loop (see the use cases below). */ AO_ATTR_NO_SANITIZE_THREAD -AO_INLINE void AO_copy_before_cas(AO_t *pdest, AO_t *psrc) +static void AO_copy_before_cas(AO_t *pdest, AO_t *psrc) { *pdest = *psrc; } -- 2.50.0