projects
/
profile
/
ivi
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f36c615
)
scanner: use printf format attributes for desc_dump
author
Olivier Blin
<dev@blino.org>
Sun, 14 Oct 2012 22:49:13 +0000
(
00:49
+0200)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 15 Oct 2012 17:04:07 +0000
(13:04 -0400)
src/scanner.c
patch
|
blob
|
history
diff --git
a/src/scanner.c
b/src/scanner.c
index
d0e64c0
..
69fefb3
100644
(file)
--- a/
src/scanner.c
+++ b/
src/scanner.c
@@
-158,6
+158,9
@@
static const char *indent(int n)
}
static void
+desc_dump(char *desc, const char *fmt, ...) __attribute__((format(printf,2,3)));
+
+static void
desc_dump(char *desc, const char *fmt, ...)
{
va_list ap;