From 8e064001c359c7274734540756bb5768abb50ea7 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 27 Mar 2012 13:26:04 +0200 Subject: [PATCH] Fix compilation of atomic api spinlocked fallback code. --- src/util-atomic.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/util-atomic.h b/src/util-atomic.h index adf4194189..4f2868e26a 100644 --- a/src/util-atomic.h +++ b/src/util-atomic.h @@ -70,8 +70,7 @@ #define SC_ATOMIC_DECL_AND_INIT(type, name) \ type name ## _sc_atomic__ = 0; \ SCSpinlock name ## _sc_lock__; \ - SCSpinInit(&(name ## _sc_lock__), 0) \ -} + SCSpinInit(&(name ## _sc_lock__), 0) /** * \brief Initialize the previously declared atomic variable and it's