diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-02-25 17:26:56 +0100 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-02-25 18:08:45 +0100 |
commit | 0026ac15abdf156cc65d3583164a4df6f7e15ee9 (patch) | |
tree | 6087f1f360328a0e3fb328b6ca5f5bc380112445 /lib | |
parent | *: Rename backet to bucket (diff) | |
download | frr-0026ac15abdf156cc65d3583164a4df6f7e15ee9.tar.xz frr-0026ac15abdf156cc65d3583164a4df6f7e15ee9.zip |
lib: add compatibility #define for hash_backet
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/hash.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/hash.h b/lib/hash.h index 2bb0ada9f..60c412b8e 100644 --- a/lib/hash.h +++ b/lib/hash.h @@ -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 |