From: Victor Julien Date: Tue, 27 Mar 2012 11:26:04 +0000 (+0200) Subject: Fix compilation of atomic api spinlocked fallback code. X-Git-Tag: suricata-1.3beta1~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e064001c359c7274734540756bb5768abb50ea7;p=thirdparty%2Fsuricata.git Fix compilation of atomic api spinlocked fallback code. --- 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