summaryrefslogtreecommitdiff
path: root/src/journal/microhttpd-util.h
diff options
context:
space:
mode:
authorCristian Rodríguez <crrodriguez@opensuse.org>2013-04-02 04:02:58 -0300
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-25 21:50:48 -0400
commitb1e2b33c5258f1cefcee55116ac5d049478c804d (patch)
treedc3e50cb79c51c85b2a16b825c89cc7bafeecbc7 /src/journal/microhttpd-util.h
parent750ef27274cdc274f8c6b9245d6ba0179c68fa50 (diff)
Add some extra __attribute__ ((format)) s
Diffstat (limited to 'src/journal/microhttpd-util.h')
-rw-r--r--src/journal/microhttpd-util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/journal/microhttpd-util.h b/src/journal/microhttpd-util.h
index d4fefa72d3..20ad76990c 100644
--- a/src/journal/microhttpd-util.h
+++ b/src/journal/microhttpd-util.h
@@ -23,4 +23,6 @@
#include <stdarg.h>
-void microhttpd_logger(void *arg, const char *fmt, va_list ap);
+#include "macro.h"
+
+void microhttpd_logger(void *arg, const char *fmt, va_list ap) _printf_attr_(2, 0);