mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 02:03:31 +00:00
add an unused attribute to yyunput to avoid warnings (errors) when
it's not being used
This commit is contained in:
parent
47a49221c2
commit
04625dfc30
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80106
@ -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
|
||||
%*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user