Merge branch 'feature/refactor-opts' into master
This commit is contained in:
commit
b9efc841a3
6 changed files with 111 additions and 98 deletions
|
|
@ -76,13 +76,10 @@ print_all_counters(const char *iface)
|
|||
return code;
|
||||
}
|
||||
|
||||
void
|
||||
ifctrstat_list_counters(int short_opt, const struct if_option *opt, const char *opt_arg, const struct if_applet *applet)
|
||||
static void
|
||||
ifctrstat_list_counters(const char *opt_arg)
|
||||
{
|
||||
(void) short_opt;
|
||||
(void) opt;
|
||||
(void) opt_arg;
|
||||
(void) applet;
|
||||
|
||||
for (int i = 0; i < avail_counters_count; i++)
|
||||
{
|
||||
|
|
@ -92,14 +89,10 @@ ifctrstat_list_counters(int short_opt, const struct if_option *opt, const char *
|
|||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
void
|
||||
ifctrstat_set_nolabel(int short_opt, const struct if_option *opt, const char *opt_arg, const struct if_applet *applet)
|
||||
static void
|
||||
ifctrstat_set_nolabel(const char *opt_arg)
|
||||
{
|
||||
(void) short_opt;
|
||||
(void) opt;
|
||||
(void) opt_arg;
|
||||
(void) applet;
|
||||
|
||||
show_label = false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue