X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fplugin.h;h=ada89322bbd0f4fc8db3edab7294d1db6da0a7aa;hb=edd0e2639a241167e213ec301bfc71c7d291ee61;hp=eb9f81f8c4908ab793593f54585cdbc882f5302b;hpb=37376539adc2398591f306aee89a37dc4734f926;p=collectd.git diff --git a/src/plugin.h b/src/plugin.h index eb9f81f8..ada89322 100644 --- a/src/plugin.h +++ b/src/plugin.h @@ -136,7 +136,7 @@ typedef struct notification_meta_s int64_t nm_signed_int; uint64_t nm_unsigned_int; double nm_double; - bool nm_boolean; + _Bool nm_boolean; } nm_value; struct notification_meta_s *next; } notification_meta_t; @@ -341,7 +341,7 @@ int plugin_notification_meta_add_double (notification_t *n, double value); int plugin_notification_meta_add_boolean (notification_t *n, const char *name, - bool value); + _Bool value); int plugin_notification_meta_copy (notification_t *dst, const notification_t *src);