chiark / gitweb /
Work around Bison's crazy redeclaration of malloc/free.
[secnet.git] / conffile_internal.h
index 69ff195e61df742089648fcb6ebec8b5896b7822..073ab26ba6d51b185ea757bff0d6e29fb6fd7bd0 100644 (file)
@@ -4,8 +4,6 @@
 #include <stdio.h>
 #include "secnet.h"
 
-extern FILE *yyin;
-
 typedef cstring_t atom_t;
 
 /* Parse tree for configuration file */
@@ -37,9 +35,8 @@ struct p_node {
     struct p_node *r;
 };
 
-extern int yylex(void);
 extern cstring_t config_file;
-extern uint32_t config_lineno;
+extern int config_lineno;
 extern int yynerrs;
 
 /* Keys in dictionaries are 'atoms', which are constructed from strings