diff options
-rw-r--r-- | src/cli_parse.y | 4 | ||||
-rw-r--r-- | src/cli_val.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/cli_parse.y b/src/cli_parse.y index 107b874..318394b 100644 --- a/src/cli_parse.y +++ b/src/cli_parse.y @@ -241,8 +241,8 @@ syntax_error: SYNTAX_ERROR { %% -char *parse_path; -int parse_def(vtw_def *defp, char *path, boolean type_only) +const char *parse_path; +int parse_def(vtw_def *defp, const char *path, boolean type_only) { int status; /* always zero vtw_def struct */ diff --git a/src/cli_val.h b/src/cli_val.h index 19aca5a..b8a30ba 100644 --- a/src/cli_val.h +++ b/src/cli_val.h @@ -156,7 +156,7 @@ extern vtw_node *make_str_node(char *str); extern vtw_node *make_var_node(char *str); extern vtw_node *make_str_node0(char *str, vtw_oper_e op); extern void append(vtw_list *l, vtw_node *n, int aux); -extern int parse_def(vtw_def *defp, char *path, boolean type_only); +extern int parse_def(vtw_def *defp, const char *path, boolean type_only); extern int yy_cli_val_lex(void); extern void cli_val_start(char *s); |