| Gentoo-bug: http://bugs.gentoo.org/437074 |
| |
| commit 81232816b90e85488d7f11f96b8fcdc5f4988c93 |
| Author: Stas Sergeev <stsp@users.sourceforge.net> |
| Date: Sun Oct 14 19:51:09 2012 +0400 |
| |
| remove prototypes for lex-generated functions |
| |
| diff --git a/src/base/init/lexer.h b/src/base/init/lexer.h |
| index 65b3ab8..082f08c 100644 |
| --- a/src/base/init/lexer.h |
| +++ b/src/base/init/lexer.h |
| @@ -1,4 +1,4 @@ |
| -/* |
| +/* |
| * (C) Copyright 1992, ..., 2007 the "DOSEMU-Development-Team". |
| * |
| * for details see file COPYING.DOSEMU in the DOSEMU distribution |
| @@ -6,7 +6,9 @@ |
| |
| /* |
| * We are intercepting the yylex() function calls from the parser |
| - */ |
| + */ |
| +#ifndef LEXER_H |
| +#define LEXER_H |
| #define OUR_YY_DECL int yylex (YYSTYPE* yylval) |
| OUR_YY_DECL; |
| |
| @@ -27,14 +29,4 @@ extern int include_lines[]; |
| extern int line_count; |
| extern int last_include; |
| |
| -extern int yyget_lineno(void); |
| -extern void yyset_lineno(int line_number); |
| -extern void yyset_out(FILE * out_str); |
| -extern void yyset_in(FILE * out_str); |
| -extern void yyset_debug(int bdebug ); |
| -extern int yyget_debug(void); |
| -extern int yylex_destroy(void); |
| -extern FILE* yyget_in(void); |
| -extern FILE* yyget_out(void); |
| -extern int yyget_leng(void); |
| -extern char *yyget_text(void); |
| +#endif |