From: Victor Julien Date: Wed, 14 Jan 2015 20:55:31 +0000 (+0100) Subject: Fix Tilera compilation X-Git-Tag: suricata-2.1beta3~58 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=baa55ba239172c444da62889c7e27ca37c550d0c;p=thirdparty%2Fsuricata.git Fix Tilera compilation Use proper initializer for a static mutex declaration. Credits: Ken Steele --- diff --git a/src/tm-threads.c b/src/tm-threads.c index 0246ec681b..1bce7526c9 100644 --- a/src/tm-threads.c +++ b/src/tm-threads.c @@ -2113,7 +2113,7 @@ typedef struct Threads_ { } Threads; static Threads thread_store = { NULL, 0, 0 }; -static SCMutex thread_store_lock = PTHREAD_MUTEX_INITIALIZER; +static SCMutex thread_store_lock = SCMUTEX_INITIALIZER; void TmThreadsListThreads(void) {