]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: add compatibility #define for hash_backet 3832/head
authorQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 25 Feb 2019 16:26:56 +0000 (16:26 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 25 Feb 2019 17:08:45 +0000 (17:08 +0000)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
lib/hash.h

index 2bb0ada9f48e2f4b412c4eb2a6254ea2b7cc5ca1..60c412b8e0716de194bfcdfc1f589ad950512076 100644 (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