]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Minor cleanup
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Thu, 14 Dec 2017 20:52:07 +0000 (21:52 +0100)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Thu, 14 Dec 2017 20:52:07 +0000 (21:52 +0100)
lib/timer.c
nest/bfd.h

index 05e488c1f01f71b7833b2faa14879fa113aecdd0..ed731d26e7b88a0b42b5a0f8545027f4ca813d8f 100644 (file)
@@ -28,6 +28,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <time.h>
 
 #include "nest/bird.h"
 
index b0ebe31da84f89232ef5e4b9af99c117151147d3..04d6c00176631adb4cad23fff0e3ac98c70371f2 100644 (file)
@@ -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"); }