Minor cleanup
This commit is contained in:
parent
c36a298c21
commit
abd4367f48
2 changed files with 2 additions and 1 deletions
|
@ -28,6 +28,7 @@
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
#include "nest/bird.h"
|
#include "nest/bird.h"
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@ static inline void cf_check_bfd(int use UNUSED) { }
|
||||||
|
|
||||||
#else
|
#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"); }
|
static inline void cf_check_bfd(int use) { if (use) cf_error("BFD not available"); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue