workaround lex build warnings so we can use -Werror with them too
git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1969 b68d4a1b-bc3d-0410-92ed-d4ac073336b7master
parent
70eb4a8270
commit
5b29e0dbe5
@ -0,0 +1,16 @@
|
|||||||
|
/*
|
||||||
|
* A little glue to keep generated lex code warning free
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _LEX_H
|
||||||
|
#define _LEX_H
|
||||||
|
|
||||||
|
#include "ansidecl.h"
|
||||||
|
|
||||||
|
/* Fix up warnings from generated lex code */
|
||||||
|
static int input (yyscan_t) ATTRIBUTE_UNUSED;
|
||||||
|
static void yyunput (int, char *, yyscan_t) ATTRIBUTE_UNUSED;
|
||||||
|
int lex_get_column (yyscan_t);
|
||||||
|
void lex_set_column (int, yyscan_t);
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue