X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Futils_complain.h;h=9d96d35d4d5acca4197aa18e01c481b708775aaa;hb=38909dcf1dcb596c5f525c6bb25cf89c046013b5;hp=390f961626c969b61d7887a03e510ffe3aebaa73;hpb=2bda2a5648c87a2c5b8304238cd80ff17984c5cd;p=collectd.git diff --git a/src/daemon/utils_complain.h b/src/daemon/utils_complain.h index 390f9616..9d96d35d 100644 --- a/src/daemon/utils_complain.h +++ b/src/daemon/utils_complain.h @@ -66,6 +66,7 @@ typedef struct * `c' Identifier for the complaint. * `format' Message format - see the documentation of printf(3). */ +__attribute__ ((format(printf,3,4))) void c_complain (int level, c_complain_t *c, const char *format, ...); /* @@ -80,6 +81,7 @@ void c_complain (int level, c_complain_t *c, const char *format, ...); * * See `c_complain' for further details and a description of the parameters. */ +__attribute__ ((format(printf,3,4))) void c_complain_once (int level, c_complain_t *c, const char *format, ...); /* @@ -101,6 +103,7 @@ void c_complain_once (int level, c_complain_t *c, const char *format, ...); * * See `c_complain' for a description of the parameters. */ +__attribute__ ((format(printf,3,4))) void c_do_release (int level, c_complain_t *c, const char *format, ...); #define c_release(level, c, ...) \ do { \