From c4071e95c9477e34358fe8e2ea8993b9eca670e1 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 12 May 2022 09:17:07 -0400 Subject: [PATCH] bgpd: Align bgp_debug.h to our standards bgp_debug.h has function declarations that are not properly aligned with our standard on how to do so. Fix. Signed-off-by: Donald Sharp --- bgpd/bgp_debug.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bgpd/bgp_debug.h b/bgpd/bgp_debug.h index cf6325ba36..407a74340a 100644 --- a/bgpd/bgp_debug.h +++ b/bgpd/bgp_debug.h @@ -166,10 +166,10 @@ struct bgp_debug_filter { extern const char *const bgp_type_str[]; -extern bool bgp_dump_attr(struct attr *, char *, size_t); +extern bool bgp_dump_attr(struct attr *attr, char *buf, size_t size); extern bool bgp_debug_peer_updout_enabled(char *host); -extern const char *bgp_notify_code_str(char); -extern const char *bgp_notify_subcode_str(char, char); +extern const char *bgp_notify_code_str(char code); +extern const char *bgp_notify_subcode_str(char code, char subcode); extern void bgp_notify_print(struct peer *peer, struct bgp_notify *bgp_notify, const char *direct, bool hard_reset);