llog: mark llog_format as unused
authorDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 8 Aug 2012 11:02:44 +0000 (13:02 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 8 Aug 2012 11:02:44 +0000 (13:02 +0200)
Gcc emits useless warnings when llog_format is not used so mark it as
unused.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
src/static_llog.h

index 7e720dc..c4217f5 100644 (file)
@@ -71,6 +71,7 @@ typedef void (*llog_submit_t) (const char *file,
                               const char *format,
                               va_list args);
 
+__attribute__((__unused__))
 static void llog_format(llog_submit_t llog,
                        const char *file,
                        int line,