summaryrefslogtreecommitdiff
path: root/src/cli_val.h
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-07-29 09:31:20 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-07-29 09:31:20 -0700
commit4215394e00c9c6e9d36293112f30b1ed45654b71 (patch)
tree1fe23acab1b385ccee11cd330cb063d95309e0c1 /src/cli_val.h
parent556eeaec4e31814fd62d2c1394958ab4e7887e79 (diff)
downloadvyatta-cfg-4215394e00c9c6e9d36293112f30b1ed45654b71.tar.gz
vyatta-cfg-4215394e00c9c6e9d36293112f30b1ed45654b71.zip
type_to_name returns immutable string
Don't want accidental errors
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 c9d59a6..fa30479 100644
--- a/src/cli_val.h
+++ b/src/cli_val.h
@@ -187,7 +187,7 @@ extern void free_val(valstruct *val);
extern void my_free(void *ptr);
extern void touch(void);
extern void dump_log(int argc, char **argv);
-extern char *type_to_name(vtw_type_e type);
+extern const char *type_to_name(vtw_type_e type);
extern boolean execute_list(vtw_node *cur, vtw_def *def);
extern void touch_dir(const char *dp);