mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-06 21:57:09 +00:00
bgpd, ripngd, zebra: Remove duplicate PSIZE define
The PSIZE macro is defined the same in multiple places. Remove the duplicates. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
246556b504
commit
a0cee366e8
@ -1033,9 +1033,6 @@ enum bgp_clear_type
|
||||
#define BGP_IS_VALID_STATE_FOR_NOTIF(S)\
|
||||
(((S) == OpenSent) || ((S) == OpenConfirm) || ((S) == Established))
|
||||
|
||||
/* Count prefix size from mask length */
|
||||
#define PSIZE(a) (((a) + 7) / (8))
|
||||
|
||||
/* BGP error codes. */
|
||||
#define BGP_SUCCESS 0
|
||||
#define BGP_ERR_INVALID_VALUE -1
|
||||
|
||||
@ -334,9 +334,6 @@ do { \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
/* Count prefix size from mask length */
|
||||
#define PSIZE(a) (((a) + 7) / (8))
|
||||
|
||||
/* Extern variables. */
|
||||
extern struct ripng *ripng;
|
||||
|
||||
|
||||
@ -127,9 +127,6 @@ struct zebra_t
|
||||
struct meta_queue *mq;
|
||||
};
|
||||
|
||||
/* Count prefix size from mask length */
|
||||
#define PSIZE(a) (((a) + 7) / (8))
|
||||
|
||||
/* Prototypes. */
|
||||
extern void zebra_init (void);
|
||||
extern void zebra_if_init (void);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user