chiark / gitweb /
cleanup: add many compiler warning options
[secnet.git] / conffile_internal.h
index 710fd965245aff592a3cb8805b51016c9115f724..69ff195e61df742089648fcb6ebec8b5896b7822 100644 (file)
@@ -1,7 +1,3 @@
-/*
- * $Log$
- */
-
 #ifndef conffile_internal_h
 #define conffile_internal_h
 
@@ -10,7 +6,7 @@
 
 extern FILE *yyin;
 
-typedef string_t atom_t;
+typedef cstring_t atom_t;
 
 /* Parse tree for configuration file */
 
@@ -42,12 +38,13 @@ struct p_node {
 };
 
 extern int yylex(void);
-extern string_t config_file;
+extern cstring_t config_file;
 extern uint32_t config_lineno;
+extern int yynerrs;
 
 /* Keys in dictionaries are 'atoms', which are constructed from strings
    using this call. Atoms may be compared using '=='. */
-extern atom_t intern(string_t string);
+extern atom_t intern(cstring_t string);
 
 extern struct p_node *parse_conffile(FILE *conffile);