From 58b8518100c8b306d5b6a3d87b4a83a1ae383a09 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 6 Sep 2014 01:33:26 +0200 Subject: Move UNUSED attribute to the start of arguments to help editors understand the syntax --- src/lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lex.c') diff --git a/src/lex.c b/src/lex.c index c2376c6..ffcebdd 100644 --- a/src/lex.c +++ b/src/lex.c @@ -198,7 +198,7 @@ static void consume(fastd_lex_t *lex, bool needspace) { } /** Signals an error caused by an I/O error */ -static int io_error(YYSTYPE *yylval, fastd_lex_t *lex UNUSED) { +static int io_error(YYSTYPE *yylval, UNUSED fastd_lex_t *lex) { yylval->error = "I/O error"; return -1; } -- cgit v1.2.3