diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2011-06-17 11:40:10 -0700 |
---|---|---|
committer | Stephen Hemminger <shemminger@vyatta.com> | 2011-06-17 11:40:10 -0700 |
commit | d805f29c41ed9a705afb1b227caf0a95040a178c (patch) | |
tree | 809dd26af39fa36db0acee14b89a03270e441666 /src | |
parent | 3380adec57f22e9840799c01b95b3a93a8d21ba6 (diff) | |
download | vyatta-cfg-d805f29c41ed9a705afb1b227caf0a95040a178c.tar.gz vyatta-cfg-d805f29c41ed9a705afb1b227caf0a95040a178c.zip |
Comment out unused functions
Diffstat (limited to 'src')
-rw-r--r-- | src/cli_new.c | 4 | ||||
-rw-r--r-- | src/cli_objects.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/cli_new.c b/src/cli_new.c index 2dc09e9..274c602 100644 --- a/src/cli_new.c +++ b/src/cli_new.c @@ -1520,7 +1520,8 @@ void free_path(vtw_path *path) } } -static void free_reuse_list() +#ifdef notused +static void free_reuse_list(void) { vtw_node *next; int cnt = 0; @@ -1536,6 +1537,7 @@ static void free_reuse_list() printf("%d nodes used\n", cnt); #endif } +#endif /***************************************************** free_val - dealloc allocated memory of valstruct diff --git a/src/cli_objects.c b/src/cli_objects.c index 9d389e2..dbb2f08 100644 --- a/src/cli_objects.c +++ b/src/cli_objects.c @@ -147,6 +147,7 @@ const char* get_tmpp(void) { return tmpp; } +#ifdef unused static char * get_elevp(void) { @@ -184,6 +185,8 @@ get_tlevp(void) return tlevp; } +#endif + /************************* Init ***************************/ |