0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-10 12:38:36 +02:00

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:
Jilles Tjoelker 2010-12-15 21:49:47 +01:00
parent 86510a73f9
commit 0b2b2f7753

View file

@ -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];