summaryrefslogtreecommitdiffstats
path: root/src/lex.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2014-09-06 01:33:26 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2014-09-06 01:33:26 +0200
commit58b8518100c8b306d5b6a3d87b4a83a1ae383a09 (patch)
tree698accb30882c4e9bfb39bf0568a4dee691b7f0a /src/lex.c
parent1e540bed623cb6080f1aa2b6afd39600ed25a8dd (diff)
downloadfastd-58b8518100c8b306d5b6a3d87b4a83a1ae383a09.tar
fastd-58b8518100c8b306d5b6a3d87b4a83a1ae383a09.zip
Move UNUSED attribute to the start of arguments to help editors understand the syntax
Diffstat (limited to 'src/lex.c')
-rw-r--r--src/lex.c2
1 files changed, 1 insertions, 1 deletions
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;
}