]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Remove redundant prototypes in src/ircd_lexer.l.
authorJilles Tjoelker <redacted>
Wed, 15 Dec 2010 20:49:47 +0000 (21:49 +0100)
committerJilles Tjoelker <redacted>
Wed, 15 Dec 2010 20:49:47 +0000 (21:49 +0100)
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

index e7df1da93fc4acff6e976a7b1efe38212679f686..77cd44cc64371be1ff69872152996a83e4a87630 100644 (file)
 
 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];