Rename init_parser_ext() to init_parser() and remove old wrapper.

There was only one consumer of the init_parser() wrapper now that
reset_parser() has been introduced.
This commit is contained in:
Todd C. Miller
2023-05-02 13:29:49 -06:00
parent f258a15df5
commit bbbaea5b2f
7 changed files with 11 additions and 24 deletions

View File

@@ -372,8 +372,7 @@ int check_aliases(struct sudoers_parse_tree *parse_tree, bool strict, bool quiet
/* gram.y */
extern struct sudoers_parse_tree parsed_policy;
extern bool (*sudoers_error_hook)(const char *file, int line, int column, const char *fmt, va_list args);
bool init_parser(const char *file);
bool init_parser_ext(const char *file, const char *path, bool strict, int verbose);
bool init_parser(const char *file, const char *path, bool strict, int verbose);
bool reset_parser(void);
void free_member(struct member *m);
void free_members(struct member_list *members);