From 0026ac15abdf156cc65d3583164a4df6f7e15ee9 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Mon, 25 Feb 2019 16:26:56 +0000 Subject: [PATCH] lib: add compatibility #define for hash_backet Signed-off-by: Quentin Young --- lib/hash.h | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.5