From 0b2b2f77539276161b2203ec96744687d3adef30 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Wed, 15 Dec 2010 21:49:47 +0100 Subject: [PATCH] Remove redundant prototypes in src/ircd_lexer.l. These seem unnecessary and may cause problems because they are wrong in some cases. A comment says these were needed for GCC 3.3. If you are still using this compiler, check this and if it breaks, some other approach is needed. --- src/ircd_lexer.l | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/ircd_lexer.l b/src/ircd_lexer.l index e7df1da9..77cd44cc 100644 --- a/src/ircd_lexer.l +++ b/src/ircd_lexer.l @@ -46,20 +46,6 @@ int yylex(void); -/* here to fixup gcc 3.3 errors */ -int yyget_lineno(void); -FILE *yyget_in(void); -FILE *yyget_out(void); -int yyget_leng(void); -char *yyget_text(void); -void yyset_lineno(int line_number); -void yyset_in(FILE * in_str); -void yyset_out(FILE * out_str); -int yyget_debug(void); -void yyset_debug(int bdebug); -int yylex_destroy(void); - - #define MAX_INCLUDE_DEPTH 10 YY_BUFFER_STATE include_stack[MAX_INCLUDE_DEPTH];