]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: Time to remove CONFDATE block 8774/head
authorDonatas Abraitis <donatas.abraitis@gmail.com>
Tue, 1 Jun 2021 07:07:58 +0000 (10:07 +0300)
committermergify-bot <noreply@mergify.io>
Tue, 1 Jun 2021 17:48:45 +0000 (17:48 +0000)
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
(cherry picked from commit ef3b48cfe1c2516c6c6490fc38682a7f640b534b)

lib/compiler.h

index 86cf347e01543ce53cfa8bccb453a43edd981040..bbfe01b569c3f4116e49e6e4ad63abdfb8e731d6 100644 (file)
@@ -140,21 +140,6 @@ extern "C" {
 #define MACRO_REQUIRE_SEMICOLON() \
        _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:
  * #define V_0()  ...
  * #define V_1(x) ...
@@ -331,7 +316,7 @@ CPP_NOTICE("time to remove this CONFDATE block")
          19, 18, 17, 16, 15, 14, 13, 12, 11, 10,           \
           9,  8,  7,  6,  5,  4,  3,  2,  1,  0
 
-#define PP_NARG_(...)    PP_ARG_N(__VA_ARGS__)    
+#define PP_NARG_(...) PP_ARG_N(__VA_ARGS__)
 #define PP_NARG(...)     PP_NARG_(_, ##__VA_ARGS__, PP_RSEQ_N())