diff options
Diffstat (limited to 'plugins/sudoers/gram.y')
-rw-r--r-- | plugins/sudoers/gram.y | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/plugins/sudoers/gram.y b/plugins/sudoers/gram.y index b72eb091c..887b01577 100644 --- a/plugins/sudoers/gram.y +++ b/plugins/sudoers/gram.y @@ -1782,7 +1782,7 @@ free_parse_tree(struct sudoers_parse_tree *parse_tree) * the current sudoers file to path. */ bool -init_parser_ext(const char *file, const char *path, bool strict, int verbose) +init_parser(const char *file, const char *path, bool strict, int verbose) { bool ret = true; debug_decl(init_parser, SUDOERS_DEBUG_PARSER); @@ -1819,15 +1819,9 @@ init_parser_ext(const char *file, const char *path, bool strict, int verbose) } bool -init_parser(const char *file) -{ - return init_parser_ext(file, NULL, false, 1); -} - -bool reset_parser(void) { - return init_parser_ext(NULL, NULL, false, 1); + return init_parser(NULL, NULL, false, 1); } /* |