summaryrefslogtreecommitdiff
path: root/src/cli_parse.y
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2010-05-31 16:22:48 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2010-05-31 16:22:48 -0700
commit84c9b55a994cacbd5395c9ed2c5bf85834e60c13 (patch)
treec5e085208786242ee606efb9aafe4fda1108dca7 /src/cli_parse.y
parent1bedfe2b2d60583aac2d8a10c0678602045dc64f (diff)
downloadvyatta-cfg-84c9b55a994cacbd5395c9ed2c5bf85834e60c13.tar.gz
vyatta-cfg-84c9b55a994cacbd5395c9ed2c5bf85834e60c13.zip
add constness to parse_def
Diffstat (limited to 'src/cli_parse.y')
-rw-r--r--src/cli_parse.y4
1 files changed, 2 insertions, 2 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 */