Move header thread_affinity declaration to extern to avoid duplicate declarations.

pull/589/head
Victor Julien 12 years ago
parent 3470b07ea5
commit bb8298ffa2

@ -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();

Loading…
Cancel
Save