Use x(void) not x() in new interface stats code

Change-Id: Iaceaba4dc22341c631c858516b960ce97c4aa564
Signed-off-by: Neale Ranns <nranns@cisco.com>
This commit is contained in:
Neale Ranns
2018-03-19 12:24:07 -04:00
committed by Chris Luke
parent 5090c57c4d
commit f704f38943
2 changed files with 5 additions and 5 deletions

View File

@ -1552,13 +1552,13 @@ default_update_adjacency (vnet_main_t * vnm, u32 sw_if_index, u32 ai)
int collect_detailed_interface_stats_flag = 0;
void
collect_detailed_interface_stats_flag_set ()
collect_detailed_interface_stats_flag_set (void)
{
collect_detailed_interface_stats_flag = 1;
}
void
collect_detailed_interface_stats_flag_clear ()
collect_detailed_interface_stats_flag_clear (void)
{
collect_detailed_interface_stats_flag = 0;
}

View File

@ -662,13 +662,13 @@ typedef enum
extern int collect_detailed_interface_stats_flag;
static inline int
collect_detailed_interface_stats ()
collect_detailed_interface_stats (void)
{
return collect_detailed_interface_stats_flag;
}
void collect_detailed_interface_stats_flag_set ();
void collect_detailed_interface_stats_flag_clear ();
void collect_detailed_interface_stats_flag_set (void);
void collect_detailed_interface_stats_flag_clear (void);
typedef struct