Skip to content

Commit

Permalink
carrierroute: undefine code related to mi commands
Browse files Browse the repository at this point in the history
- fixes compiler warnings for unused static symbols
  • Loading branch information
coreyfarrell authored and miconda committed Jun 22, 2017
1 parent 5326e1f commit e6aeda0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/modules/carrierroute/cr_fifo.c
Expand Up @@ -59,6 +59,7 @@ static unsigned int opt_settings[5][3] = {

int fifo_err;

#ifdef MI_REMOVED
static int updated;

static int get_fifo_opts(str * buf, fifo_opt_t * opts, unsigned int opt_set[]);
Expand All @@ -67,14 +68,14 @@ static int update_route_data(fifo_opt_t * opts);

static int update_route_data_recursor(struct dtrie_node_t *node, str * act_domain, fifo_opt_t * opts);

#ifdef MI_REMOVED
static int dump_tree_recursor (struct mi_node* msg, struct dtrie_node_t *node, char *prefix);

static struct mi_root* print_replace_help(void);

static struct mi_root* print_fifo_err(void);
#endif

#ifdef MI_REMOVED
static int str_toklen(str * str, const char * delims)
{
int len;
Expand All @@ -94,6 +95,7 @@ static int str_toklen(str * str, const char * delims)

return len;
}
#endif

#ifdef MI_REMOVED
/**
Expand Down Expand Up @@ -737,6 +739,7 @@ static int update_route_data(fifo_opt_t * opts) {
#endif


#ifdef MI_REMOVED
/**
* Does the work for update_route_data by recursively
* traversing the routing tree
Expand Down Expand Up @@ -903,7 +906,6 @@ static int update_route_data_recursor(struct dtrie_node_t *node, str * act_domai
return 0;
}

#ifdef MI_REMOVED
/**
* prints a short help text for fifo command usage
*/
Expand Down

0 comments on commit e6aeda0

Please sign in to comment.