X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fdaemon%2Futils_complain.h;h=88387be492b4869b207fc527c10e217bb26ee783;hp=46d3a1987555bd64fe1f10fa7da5c7c907766d8b;hb=06a86a60a7dabc685bdbd81ce3d36ea5f7e2c2d4;hpb=5dbb7471b0a7ca7506f56f4c6dbaf58e790c6b7c diff --git a/src/daemon/utils_complain.h b/src/daemon/utils_complain.h index 46d3a198..88387be4 100644 --- a/src/daemon/utils_complain.h +++ b/src/daemon/utils_complain.h @@ -39,7 +39,7 @@ typedef struct { * 0 indicates that the complaint is no longer valid. */ cdtime_t interval; - _Bool complained_once; + bool complained_once; } c_complain_t; #define C_COMPLAIN_INIT_STATIC \ @@ -48,7 +48,7 @@ typedef struct { do { \ (c)->last = 0; \ (c)->interval = 0; \ - (c)->complained_once = 0; \ + (c)->complained_once = false; \ } while (0) /*