summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Larson <slioch@slioch.vyatta.com>2010-06-02 11:32:20 -0700
committerMichael Larson <slioch@slioch.vyatta.com>2010-06-02 11:32:20 -0700
commit364bdfd2b86bfd76cd71d7a4cef7452a21ce4835 (patch)
tree61912f34fa4f549314078588198b42155e259f65 /src
parent6d1851d7f199222bc9cc832625de812a5abc055b (diff)
downloadvyatta-cfg-364bdfd2b86bfd76cd71d7a4cef7452a21ce4835.tar.gz
vyatta-cfg-364bdfd2b86bfd76cd71d7a4cef7452a21ce4835.zip
more fixes for compilier warnings.
Diffstat (limited to 'src')
-rw-r--r--src/cli_new.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cli_new.c b/src/cli_new.c
index 5609c32..621b634 100644
--- a/src/cli_new.c
+++ b/src/cli_new.c
@@ -99,7 +99,7 @@ static int set_reference_environment(const char* var_reference,
clind_path_ref *n_cmd_path,
int active);
static boolean
-is_deactivated(const char *path,const char *symbol) ;
+is_deactivated(const clind_path_ref *path,const char *symbol) ;
/*************************************************
GLOBAL FUNCTIONS
@@ -1555,7 +1555,7 @@ static int expand_string(char *stringp)
memset(&cv,0,sizeof(cv));
- if (is_deactivated(n_cfg_path,scanp) == FALSE) {
+ if (is_deactivated(&n_cfg_path,scanp) == FALSE) {
if(clind_config_engine_apply_command_path(n_cfg_path,
n_tmpl_path,
@@ -2404,7 +2404,7 @@ system_out(const char *command)
boolean
-is_deactivated(const char *path,const char *symbol)
+is_deactivated(const clind_path_ref *path,const char *symbol)
{
if (path == NULL) {
return FALSE;