projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Treewide: use bool instead of _Bool
[collectd.git]
/
src
/
python.c
diff --git
a/src/python.c
b/src/python.c
index
e60ba45
..
178f52d
100644
(file)
--- a/
src/python.c
+++ b/
src/python.c
@@
-241,7
+241,7
@@
static char CollectdError_doc[] =
static pthread_t main_thread;
static PyOS_sighandler_t python_sigint_handler;
static pthread_t main_thread;
static PyOS_sighandler_t python_sigint_handler;
-static
_B
ool do_interactive = 0;
+static
b
ool do_interactive = 0;
/* This is our global thread state. Python saves some stuff in thread-local
* storage. So if we allow the interpreter to run in the background
/* This is our global thread state. Python saves some stuff in thread-local
* storage. So if we allow the interpreter to run in the background
@@
-448,7
+448,7
@@
static int cpy_write_callback(const data_set_t *ds,
int64_t si;
uint64_t ui;
double d;
int64_t si;
uint64_t ui;
double d;
-
_B
ool b;
+
b
ool b;
type = meta_data_type(meta, table[i]);
if (type == MD_TYPE_STRING) {
type = meta_data_type(meta, table[i]);
if (type == MD_TYPE_STRING) {
@@
-1366,7
+1366,7
@@
static int cpy_config(oconfig_item_t *ci) {
#endif
sfree(encoding);
} else if (strcasecmp(item->key, "LogTraces") == 0) {
#endif
sfree(encoding);
} else if (strcasecmp(item->key, "LogTraces") == 0) {
-
_B
ool log_traces;
+
b
ool log_traces;
if (cf_util_get_boolean(item, &log_traces) != 0) {
status = 1;
continue;
if (cf_util_get_boolean(item, &log_traces) != 0) {
status = 1;
continue;