X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd-tg.c;h=6c0a8a5b763e0bfa558f1452ee36b0dadf0760bb;hb=4e89060ceb1a14ec7f9abfe9caa6b0da7e76bd5c;hp=48f2dc43cde3851adee94fd86c389ea26ea78a75;hpb=8fd8f76dc11064e75e44448d16d35e09e46191a2;p=collectd.git diff --git a/src/collectd-tg.c b/src/collectd-tg.c index 48f2dc43..6c0a8a5b 100644 --- a/src/collectd-tg.c +++ b/src/collectd-tg.c @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include @@ -66,7 +67,7 @@ static c_heap_t *values_heap = NULL; static struct sigaction sigint_action; static struct sigaction sigterm_action; -static _Bool loop = 1; +static bool loop = true; __attribute__((noreturn)) static void exit_usage(int exit_status) /* {{{ */ {