From: Victor Julien Date: Fri, 20 Sep 2013 13:57:23 +0000 (+0200) Subject: Move header thread_affinity declaration to extern to avoid duplicate declarations. X-Git-Tag: suricata-2.0beta2~349 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb8298ffa20ea2901e89ccf1eac4c95ac5da60ff;p=thirdparty%2Fsuricata.git Move header thread_affinity declaration to extern to avoid duplicate declarations. --- diff --git a/src/util-affinity.h b/src/util-affinity.h index d46194d1fd..9ca30fcfe2 100644 --- a/src/util-affinity.h +++ b/src/util-affinity.h @@ -83,7 +83,7 @@ typedef struct ThreadsAffinityType_ { /** store thread affinity mode for all type of threads */ #ifndef _THREAD_AFFINITY -ThreadsAffinityType thread_affinity[MAX_CPU_SET]; +extern ThreadsAffinityType thread_affinity[MAX_CPU_SET]; #endif void AffinitySetupLoadFromConfig();