summaryrefslogtreecommitdiff
path: root/babeld/kernel.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-08-17 19:01:30 -0400
committerDonald Sharp <sharpd@nvidia.com>2022-08-24 08:30:27 -0400
commitc392d9f48704616610830c8efcb4ccbd936855d5 (patch)
tree06911daf425e63d5f79f06d36db3085a91dd8ea0 /babeld/kernel.c
parentef03888333a27769311cf75a5d17a128caa00a61 (diff)
babeld: Remove return value for gettime()
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'babeld/kernel.c')
-rw-r--r--babeld/kernel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/babeld/kernel.c b/babeld/kernel.c
index 3941db8d5f..5aa01ceb44 100644
--- a/babeld/kernel.c
+++ b/babeld/kernel.c
@@ -227,10 +227,10 @@ if_eui64(int ifindex, unsigned char *eui)
/* Like gettimeofday, but returns monotonic time. If POSIX clocks are not
available, falls back to gettimeofday but enforces monotonicity. */
-int
+void
gettime(struct timeval *tv)
{
- return monotime(tv);
+ monotime(tv);
}
/* If /dev/urandom doesn't exist, this will fail with ENOENT, which the