summaryrefslogtreecommitdiff
path: root/proto/bmp/bmp.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2023-05-30 15:52:01 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2023-05-30 16:23:07 +0200
commitae4d934c53cdc4cc5ec3d4535cd5138fdf9b25cb (patch)
tree27a5e3f0ae38f046625ee58a716bdf069c81b24b /proto/bmp/bmp.h
parentc1821a9aba3c7fbdb48cee7d86e4661317900a0a (diff)
BMP: Minor formatting cleanups
Based on patches from Michal Zagorski <mzagorsk@akamai.com> co-authored with Pawel Maslanka <pmaslank@akamai.com>. Thanks!
Diffstat (limited to 'proto/bmp/bmp.h')
-rw-r--r--proto/bmp/bmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/bmp/bmp.h b/proto/bmp/bmp.h
index 51a8e636..40d42e6a 100644
--- a/proto/bmp/bmp.h
+++ b/proto/bmp/bmp.h
@@ -121,7 +121,7 @@ bmp_peer_down(const struct bgp_proto *bgp, const int err_class, const byte *pkt,
#else /* BMP build disabled */
-static inline void bmp_peer_up(const struct bgp_proto *bgp, const byte *tx_open_msg, uint tx_open_length, const byte *rx_open_msg, uint rx_open_length) { }
+static inline void bmp_peer_up(const struct bgp_proto *bgp UNUSED, const byte *tx_open_msg UNUSED, uint tx_open_length UNUSED, const byte *rx_open_msg UNUSED, uint rx_open_length UNUSED) { }
static inline void bmp_route_monitor_update_in_pre_begin(void) { }
static inline void bmp_route_monitor_put_update_in_pre_msg(const byte *data UNUSED, const size_t data_size UNUSED) { }
static inline void bmp_route_monitor_update_in_pre_commit(const struct bgp_proto *bgp UNUSED) { }