chiark / gitweb /
Add some extra __attribute__ ((format)) s
[elogind.git] / src / journal / microhttpd-util.h
index d4fefa72d3b26465fbd359012683818518a2d318..20ad76990c1dcedab49e0635e02efd9bd2b41b87 100644 (file)
@@ -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);