diff options
author | Sandis Neilands <git-no-reply@zabbix.com> | 2015-11-20 18:26:17 +0300 |
---|---|---|
committer | Sandis Neilands <git-no-reply@zabbix.com> | 2015-11-20 18:26:17 +0300 |
commit | d87ce09ae728f186c45d9462b1e3293daca557db (patch) | |
tree | 45d8cf9a27c0226f90a894447815988656ca69a7 /src/zabbix_agent/listener.c | |
parent | c88b92e57dcae0ae3092ddf4c650b733eedf009a (diff) |
...G...... [ZBX-10031] fixed definitions of wrongly-defined thread-local variables in Windows agentd
Diffstat (limited to 'src/zabbix_agent/listener.c')
-rw-r--r-- | src/zabbix_agent/listener.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/zabbix_agent/listener.c b/src/zabbix_agent/listener.c index 0eb281c3aa3..5ed938176c0 100644 --- a/src/zabbix_agent/listener.c +++ b/src/zabbix_agent/listener.c @@ -28,8 +28,9 @@ #include "sysinfo.h" #include "log.h" -extern unsigned char process_type, program_type; -extern int server_num, process_num; +extern unsigned char program_type; +extern ZBX_THREAD_LOCAL unsigned char process_type; +extern ZBX_THREAD_LOCAL int server_num, process_num; #if defined(ZABBIX_SERVICE) # include "service.h" |