X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fdaemon%2Futils_complain.h;h=88387be492b4869b207fc527c10e217bb26ee783;hp=fbeea90f52d34eb63c45af04ac2c543f3547c891;hb=06a86a60a7dabc685bdbd81ce3d36ea5f7e2c2d4;hpb=2079ee1517e34de372f58e7e2267ad5c71a8a41f diff --git a/src/daemon/utils_complain.h b/src/daemon/utils_complain.h index fbeea90f..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) /* @@ -113,5 +113,3 @@ c_do_release(int level, c_complain_t *c, const char *format, ...); } while (0) #endif /* UTILS_COMPLAIN_H */ - -/* vim: set sw=4 ts=4 tw=78 noexpandtab : */