diff --git a/src/haproxy.c b/src/haproxy.c index 923b92327..9e5f69a14 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -138,8 +138,6 @@ int relative_pid = 1; /* process id starting at 1 */ unsigned long pid_bit = 1; /* bit corresponding to the process id */ unsigned long all_proc_mask = 1; /* mask of all processes */ -struct thread_info thread_info[MAX_THREADS] = { }; - volatile unsigned long sleeping_thread_mask; /* Threads that are about to sleep in poll() */ /* global options */ struct global global = { diff --git a/src/hathreads.c b/src/hathreads.c index b159d5eb3..b25417cc8 100644 --- a/src/hathreads.c +++ b/src/hathreads.c @@ -29,7 +29,7 @@ #include #include -struct thread_info thread_info[MAX_THREADS]; +struct thread_info thread_info[MAX_THREADS] = { }; THREAD_LOCAL struct thread_info *ti = &thread_info[0]; #ifdef USE_THREAD