lib: Time to remove CONFDATE block

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
Donatas Abraitis 2021-06-01 10:07:58 +03:00
parent b8fd5ba1d7
commit ef3b48cfe1

View File

@ -140,21 +140,6 @@ extern "C" {
#define MACRO_REQUIRE_SEMICOLON() \ #define MACRO_REQUIRE_SEMICOLON() \
_Static_assert(1, "please add a semicolon after this macro") _Static_assert(1, "please add a semicolon after this macro")
#if CONFDATE < 20210601
#ifdef ENABLE_BGP_VNC
/* temporarily disabled for transition for LabN CI
* NB: it's not possible to generate a deprecation warning for this, hence
* the shortened transition period (since otherwise new uses of the old syntax
* may creep in without errors)
*/
#undef MACRO_REQUIRE_SEMICOLON
#define MACRO_REQUIRE_SEMICOLON() \
/* nothing */
#endif /* ENABLE_BGP_VNC */
#else /* CONFDATE >= 20210601 */
CPP_NOTICE("time to remove this CONFDATE block")
#endif
/* variadic macros, use like: /* variadic macros, use like:
* #define V_0() ... * #define V_0() ...
* #define V_1(x) ... * #define V_1(x) ...