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.
This commit is contained in:
parent
7123097bae
commit
26576db0b3
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue