From 2e06e93a80002b9f1753e9331a875fad8eaa3dc2 Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Wed, 8 Aug 2012 13:02:44 +0200 Subject: [PATCH] llog: mark llog_format as unused Gcc emits useless warnings when llog_format is not used so mark it as unused. Signed-off-by: David Herrmann --- src/static_llog.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/static_llog.h b/src/static_llog.h index 7e720dc..c4217f5 100644 --- a/src/static_llog.h +++ b/src/static_llog.h @@ -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,