mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-28 15:36:25 +00:00
babeld: Remove return value for gettime()
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
ef03888333
commit
c392d9f487
@ -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
|
||||
|
@ -43,7 +43,7 @@ int kernel_route(enum babel_kernel_routes operation, const unsigned char *dest,
|
||||
unsigned int metric, const unsigned char *newgate,
|
||||
int newifindex, unsigned int newmetric);
|
||||
int if_eui64(int ifindex, unsigned char *eui);
|
||||
int gettime(struct timeval *tv);
|
||||
void gettime(struct timeval *tv);
|
||||
int read_random_bytes(void *buf, size_t len);
|
||||
|
||||
#endif /* BABEL_KERNEL_H */
|
||||
|
Loading…
Reference in New Issue
Block a user