projects
/
platform
/
upstream
/
kmscon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70a503d
)
llog: mark llog_format as unused
author
David Herrmann
<dh.herrmann@googlemail.com>
Wed, 8 Aug 2012 11:02:44 +0000
(13:02 +0200)
committer
David 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
patch
|
blob
|
history
diff --git
a/src/static_llog.h
b/src/static_llog.h
index
7e720dc
..
c4217f5
100644
(file)
--- 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,