summaryrefslogtreecommitdiffstats
path: root/pimd/pim_time.c
diff options
context:
space:
mode:
authorRuben Kerkhof <ruben@rubenkerkhof.com>2019-01-24 10:12:36 +0100
committerRuben Kerkhof <ruben@rubenkerkhof.com>2019-01-24 11:21:59 +0100
commit4d762f2607f07b55f464bae4ec0eb7fdf7c656a9 (patch)
treec8e9c8056c9fec104ec152ccf254c282fa6a90c6 /pimd/pim_time.c
parentMerge pull request #3508 from chiragshah6/evpn_dev2 (diff)
downloadfrr-4d762f2607f07b55f464bae4ec0eb7fdf7c656a9.tar.xz
frr-4d762f2607f07b55f464bae4ec0eb7fdf7c656a9.zip
Treewide: use ANSI function definitions
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
Diffstat (limited to 'pimd/pim_time.c')
-rw-r--r--pimd/pim_time.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_time.c b/pimd/pim_time.c
index 23c85c2fa..f12f76753 100644
--- a/pimd/pim_time.c
+++ b/pimd/pim_time.c
@@ -47,7 +47,7 @@ static int gettime_monotonic(struct timeval *tv)
pim_time_monotonic_sec():
number of seconds since some unspecified starting point
*/
-int64_t pim_time_monotonic_sec()
+int64_t pim_time_monotonic_sec(void)
{
struct timeval now_tv;
@@ -65,7 +65,7 @@ int64_t pim_time_monotonic_sec()
pim_time_monotonic_dsec():
number of deciseconds since some unspecified starting point
*/
-int64_t pim_time_monotonic_dsec()
+int64_t pim_time_monotonic_dsec(void)
{
struct timeval now_tv;
int64_t now_dsec;