summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-03-19 12:24:07 -0400
committerChris Luke <chris_luke@comcast.com>2018-03-19 18:02:09 +0000
commitf704f389434a91c44b44c56f2adf63bb062e1720 (patch)
tree196b7ff1ccbe47b2ac5b40efa590159c2b794504
parent5090c57c4d1778b40ed77d31d1dd85eb3123c528 (diff)
Use x(void) not x() in new interface stats code
Change-Id: Iaceaba4dc22341c631c858516b960ce97c4aa564 Signed-off-by: Neale Ranns <nranns@cisco.com>
-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