diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-02-25 16:26:56 +0000 | 
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-02-25 17:08:45 +0000 | 
| commit | 0026ac15abdf156cc65d3583164a4df6f7e15ee9 (patch) | |
| tree | 6087f1f360328a0e3fb328b6ca5f5bc380112445 /lib/hash.h | |
| parent | e3b78da875d7ccb744763bb9f8ef6d08655e3975 (diff) | |
lib: add compatibility #define for hash_backet
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/hash.h')
| -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 2bb0ada9f4..60c412b8e0 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  | 
