summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-12-15 23:43:47 +0100
committerLennart Poettering <lennart@poettering.net>2013-12-15 23:43:47 +0100
commit9bfa2c029d4367406bda9b8984e579e0b06b3b2b (patch)
tree8e498dc0f98ad6266ea9a73c9cf09ef7b0b1d277 /src/journal
parentb6c631f378b4e5a9b68ef34f103b2ece21a9e9fa (diff)
bus: _printf_ attributes should be on prototypes not function definitions for non-static functions
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/microhttpd-util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/journal/microhttpd-util.c b/src/journal/microhttpd-util.c
index 5675af4a19..c45d0df722 100644
--- a/src/journal/microhttpd-util.c
+++ b/src/journal/microhttpd-util.c
@@ -29,7 +29,6 @@
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wformat-nonliteral"
-_printf_(2,0)
void microhttpd_logger(void *arg, const char *fmt, va_list ap) {
_cleanup_free_ char *f;
if (asprintf(&f, "microhttpd: %s", fmt) <= 0) {