summaryrefslogtreecommitdiffstats
path: root/usr.bin/lex
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/lex')
-rw-r--r--usr.bin/lex/flex.skl6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/lex/flex.skl b/usr.bin/lex/flex.skl
index e894a27..b7d9297 100644
--- a/usr.bin/lex/flex.skl
+++ b/usr.bin/lex/flex.skl
@@ -313,7 +313,11 @@ extern int yywrap YY_PROTO(( void ));
%-
#ifndef YY_NO_UNPUT
-static void yyunput YY_PROTO(( int c, char *buf_ptr ));
+static void yyunput YY_PROTO(( int c, char *buf_ptr ))
+#ifdef __GNUC__
+ __attribute__ ((unused))
+#endif
+;
#endif
%*
OpenPOWER on IntegriCloud