define config_path as global variable

This commit is contained in:
Omar Polo 2021-02-08 12:44:34 +00:00
parent 319b7fa909
commit d090dc8491
2 changed files with 1 additions and 1 deletions

1
gmid.h
View File

@ -106,6 +106,7 @@ struct conf {
int prefork;
};
extern const char *config_path;
extern struct conf conf;
extern int exfd;

View File

@ -35,7 +35,6 @@ struct location *loc;
size_t iloc;
int goterror = 0;
const char *config_path;
void yyerror(const char*, ...);
int parse_portno(const char*);