From: Quentin Young Date: Mon, 25 Feb 2019 16:26:56 +0000 (+0000) Subject: lib: add compatibility #define for hash_backet X-Git-Tag: 7.1_pulled~217^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=0026ac15abdf156cc65d3583164a4df6f7e15ee9;p=mirror%2Ffrr.git lib: add compatibility #define for hash_backet Signed-off-by: Quentin Young --- 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