scanner: use printf format attributes for desc_dump

This commit is contained in:
Olivier Blin 2012-10-15 00:49:13 +02:00 committed by Kristian Høgsberg
parent f36c61571f
commit 0d77c5302e

View file

@ -157,6 +157,9 @@ static const char *indent(int n)
return whitespace[n % 8] + 12 - n / 8;
}
static void
desc_dump(char *desc, const char *fmt, ...) __attribute__((format(printf,2,3)));
static void
desc_dump(char *desc, const char *fmt, ...)
{