summaryrefslogtreecommitdiff
path: root/src/cli_val.h
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-09-04 14:58:58 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-09-04 14:58:58 -0700
commita709a7b68575139c37ae203d379d2bc93f330dbd (patch)
tree1e93d9d9ce303d9b1f5d07716c5a0d949fb5345c /src/cli_val.h
parent6eb8e60b0a53c21cfbc2996a1d7faa1dcc29e9f2 (diff)
downloadvyatta-cfg-a709a7b68575139c37ae203d379d2bc93f330dbd.tar.gz
vyatta-cfg-a709a7b68575139c37ae203d379d2bc93f330dbd.zip
Fix build warnings
Get rid of warnings for push_path discards qualifiers from pointer target type.
Diffstat (limited to 'src/cli_val.h')
-rw-r--r--src/cli_val.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli_val.h b/src/cli_val.h
index 5abaaee..a753c92 100644
--- a/src/cli_val.h
+++ b/src/cli_val.h
@@ -152,7 +152,7 @@ extern void cli_val_start(char *s);
extern void cli_val_done(void);
extern void init_path(vtw_path *path, const char *root);
extern void pop_path(vtw_path *path);
-extern void push_path(vtw_path *path, char *segm);
+extern void push_path(vtw_path *path, const char *segm);
extern void push_path_no_escape(vtw_path *path, char *segm);
extern void free_def(vtw_def *defp);
extern void free_sorted(vtw_sorted *sortp);