mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-30 20:21:02 +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
|
/* Like gettimeofday, but returns monotonic time. If POSIX clocks are not
|
||||||
available, falls back to gettimeofday but enforces monotonicity. */
|
available, falls back to gettimeofday but enforces monotonicity. */
|
||||||
int
|
void
|
||||||
gettime(struct timeval *tv)
|
gettime(struct timeval *tv)
|
||||||
{
|
{
|
||||||
return monotime(tv);
|
monotime(tv);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If /dev/urandom doesn't exist, this will fail with ENOENT, which the
|
/* 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,
|
unsigned int metric, const unsigned char *newgate,
|
||||||
int newifindex, unsigned int newmetric);
|
int newifindex, unsigned int newmetric);
|
||||||
int if_eui64(int ifindex, unsigned char *eui);
|
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);
|
int read_random_bytes(void *buf, size_t len);
|
||||||
|
|
||||||
#endif /* BABEL_KERNEL_H */
|
#endif /* BABEL_KERNEL_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user