aboutsummaryrefslogtreecommitdiff
path: root/gmid.h
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-06-16 14:43:16 +0000
committerOmar Polo <op@omarpolo.com>2021-06-16 14:43:16 +0000
commit74f0778b9ae93a700d8b0f759b05f24e69f54921 (patch)
tree7e67078f430fce32caf192e38dc91dc8a6accc5a /gmid.h
parent984c46a82e002089b3a4035ba34873ad9c75d973 (diff)
drop the dependency on lex by implementing yylex by ourselves
The actual implementation is based off doas' parse.y. This gave us various benefits, like cleaner code, \ to break long lines, better handling of quotes etc...
Diffstat (limited to 'gmid.h')
-rw-r--r--gmid.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gmid.h b/gmid.h
index a013af5..731a4fd 100644
--- a/gmid.h
+++ b/gmid.h
@@ -310,12 +310,6 @@ void init_config(void);
void free_config(void);
void drop_priv(void);
-/* provided by lex/yacc */
-extern FILE *yyin;
-extern int yylineno;
-extern int yyparse(void);
-extern int yylex(void);
-
void yyerror(const char*, ...);
int parse_portno(const char*);
void parse_conf(const char*);