summaryrefslogtreecommitdiffstats
path: root/include/afb
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-05-27 14:58:15 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-05-27 15:00:18 +0200
commit44eccb2c9d6f8dde8059cf75305d04992ae9feb7 (patch)
tree51c3ee357d4315ff23bfff19b778742b51d4f68f /include/afb
parent146bb49ca5acf4bbd5d9841398030c29b4333cc6 (diff)
improves detection of formatting error
Change-Id: I426013cb841d6826c4904f68bf5fa1c653dd972c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'include/afb')
-rw-r--r--include/afb/afb-plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/afb/afb-plugin.h b/include/afb/afb-plugin.h
index 6f5cd08c..81df3a8f 100644
--- a/include/afb/afb-plugin.h
+++ b/include/afb/afb-plugin.h
@@ -213,6 +213,7 @@ static inline struct sd_bus *afb_daemon_get_system_bus(struct afb_daemon daemon)
* 'file' and 'line' are indicators of position of the code in source files.
* 'daemon' MUST be the daemon given in interface when activating the plugin.
*/
+static inline void afb_daemon_verbose(struct afb_daemon daemon, int level, const char *file, int line, const char *fmt, ...) __attribute__((format(printf, 5, 6)));
static inline void afb_daemon_verbose(struct afb_daemon daemon, int level, const char *file, int line, const char *fmt, ...)
{
va_list args;