diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-12-14 21:52:07 +0100 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2017-12-14 21:52:07 +0100 |
commit | abd4367f483bc29a03cce8bcfc70a83ac5d13cdc (patch) | |
tree | 48b02daa17c2fb454380003019a6cb18ac82c818 | |
parent | c36a298c21f1aa5b4e61d2d4740811529175df09 (diff) |
Minor cleanup
-rw-r--r-- | lib/timer.c | 1 | ||||
-rw-r--r-- | nest/bfd.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/timer.c b/lib/timer.c index 05e488c1..ed731d26 100644 --- a/lib/timer.c +++ b/lib/timer.c @@ -28,6 +28,7 @@ #include <stdio.h> #include <stdlib.h> +#include <time.h> #include "nest/bird.h" @@ -46,7 +46,7 @@ static inline void cf_check_bfd(int use UNUSED) { } #else -static inline struct bfd_request * bfd_request_session(pool *p, ip_addr addr, ip_addr local, struct iface *iface, void (*hook)(struct bfd_request *), void *data) { return NULL; } +static inline struct bfd_request * bfd_request_session(pool *p UNUSED, ip_addr addr UNUSED, ip_addr local UNUSED, struct iface *iface UNUSED, void (*hook)(struct bfd_request *) UNUSED, void *data UNUSED) { return NULL; } static inline void cf_check_bfd(int use) { if (use) cf_error("BFD not available"); } |