X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Finterface.c;h=39ca880363aa96b2c888e25e53c49bc23cbad93a;hb=4e89060ceb1a14ec7f9abfe9caa6b0da7e76bd5c;hp=c45ef6603b79c51e1cbfdc4f7aa04ea9dc7d0e52;hpb=b755def9cec867d955ad91a3864e2dbca9a16bf1;p=collectd.git diff --git a/src/interface.c b/src/interface.c index c45ef660..39ca8803 100644 --- a/src/interface.c +++ b/src/interface.c @@ -88,7 +88,7 @@ static int config_keys_num = STATIC_ARRAY_SIZE(config_keys); static ignorelist_t *ignorelist = NULL; -static _Bool report_inactive = 1; +static bool report_inactive = true; #ifdef HAVE_LIBKSTAT #if HAVE_KSTAT_H @@ -98,7 +98,7 @@ static _Bool report_inactive = 1; extern kstat_ctl_t *kc; static kstat_t *ksp[MAX_NUMIF]; static int numif = 0; -static _Bool unique_name = 0; +static bool unique_name; #endif /* HAVE_LIBKSTAT */ static int interface_config(const char *key, const char *value) {