aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vnet/interface.c4
-rw-r--r--src/vnet/interface.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/vnet/interface.c b/src/vnet/interface.c
index ba342d49c9e..b07a9ba7553 100644
--- a/src/vnet/interface.c
+++ b/src/vnet/interface.c
@@ -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;
}
diff --git a/src/vnet/interface.h b/src/vnet/interface.h
index 73f1895b74f..62fdc601e99 100644
--- a/src/vnet/interface.h
+++ b/src/vnet/interface.h
@@ -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