projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #2729 from cekstam/add-scale-and-shift-to-modbus
[collectd.git]
/
src
/
pinba.c
diff --git
a/src/pinba.c
b/src/pinba.c
index
e82ac0e
..
66b9cd1
100644
(file)
--- a/
src/pinba.c
+++ b/
src/pinba.c
@@
-99,12
+99,12
@@
typedef struct pinba_statnode_s pinba_statnode_t;
* Module global variables
*/
/* {{{ */
* Module global variables
*/
/* {{{ */
-static pinba_statnode_t *stat_nodes
= NULL
;
-static unsigned int stat_nodes_num
= 0
;
+static pinba_statnode_t *stat_nodes;
+static unsigned int stat_nodes_num;
static pthread_mutex_t stat_nodes_lock;
static pthread_mutex_t stat_nodes_lock;
-static char *conf_node
= NULL
;
-static char *conf_service
= NULL
;
+static char *conf_node;
+static char *conf_service;
static bool collector_thread_running;
static bool collector_thread_do_shutdown;
static bool collector_thread_running;
static bool collector_thread_do_shutdown;