lib: add compatibility #define for hash_backet

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2019-02-25 16:26:56 +00:00
parent e3b78da875
commit 0026ac15ab

View file

@ -39,6 +39,11 @@ DECLARE_MTYPE(HASH_BACKET)
#define HASHWALK_CONTINUE 0
#define HASHWALK_ABORT -1
#if CONFDATE > 20200225
CPP_NOTICE("hash.h: time to remove hash_backet #define")
#endif
#define hash_backet hash_bucket
struct hash_bucket {
/*
* if this bucket is the head of the linked listed, len denotes the