projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
No need to initialize static bools to false
[collectd.git]
/
src
/
collectd-nagios.c
diff --git
a/src/collectd-nagios.c
b/src/collectd-nagios.c
index
4c54dad
..
d53ae65
100644
(file)
--- a/
src/collectd-nagios.c
+++ b/
src/collectd-nagios.c
@@
-34,6
+34,7
@@
#include <assert.h>
#include <errno.h>
#include <assert.h>
#include <errno.h>
+#include <stdbool.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@
-71,7
+72,7
@@
#endif
#endif /* NAN_ZERO_ZERO */
#endif
#endif /* NAN_ZERO_ZERO */
-#include "
libcollectdclient/
collectd/client.h"
+#include "collectd/client.h"
#define RET_OKAY 0
#define RET_WARNING 1
#define RET_OKAY 0
#define RET_WARNING 1
@@
-100,7
+101,7
@@
static char *hostname_g = NULL;
static range_t range_critical_g;
static range_t range_warning_g;
static int consolitation_g = CON_NONE;
static range_t range_critical_g;
static range_t range_warning_g;
static int consolitation_g = CON_NONE;
-static
_Bool nan_is_error_g = 0
;
+static
bool nan_is_error_g
;
static char **match_ds_g = NULL;
static size_t match_ds_num_g = 0;
static char **match_ds_g = NULL;
static size_t match_ds_num_g = 0;