]> git.puffer.fish Git - mirror/frr.git/commitdiff
lib: remove VERSION_TYPE_DEV from CONFDATE checks
authorLou Berger <lberger@labn.net>
Tue, 10 Jul 2018 20:02:58 +0000 (16:02 -0400)
committerLou Berger <lberger@labn.net>
Tue, 10 Jul 2018 20:19:37 +0000 (16:19 -0400)
Signed-off-by: Lou Berger <lberger@labn.net>
lib/linklist.h
lib/stream.h
lib/workqueue.h
lib/zclient.h

index 1e2631ea46157157d05f406adb052cbcb9524637..cee6c1e505e54a4b565df32cec9bc49823760f71 100644 (file)
@@ -232,7 +232,7 @@ extern void list_sort(struct list *list,
  * and remove list_delete_original and the list_delete #define
  * Additionally remove list_free entirely
  */
-#if defined(VERSION_TYPE_DEV) && CONFDATE > 20181001
+#if CONFDATE > 20181001
 CPP_NOTICE("list_delete without double pointer is deprecated, please fixup")
 #endif
 
index 11af85c663d086438a270f4879742f2c547eaef3..e808f039c623c07468df2ade9792c85648931a06 100644 (file)
@@ -133,7 +133,7 @@ struct stream_fifo {
 #define STREAM_CONCAT_REMAIN(S1, S2, size) ((size) - (S1)->endp - (S2)->endp)
 
 /* deprecated macros - do not use in new code */
-#if defined(VERSION_TYPE_DEV) && CONFDATE > 20181128
+#if CONFDATE > 20181128
 CPP_NOTICE("lib: time to remove deprecated stream.h macros")
 #endif
 #define STREAM_PNT(S)   stream_pnt((S))
index 6085820393d65865809bd06760c1b70759b2eb99..fe1700f8ded5aaf79eff7b3a232d9e51c1cdac29 100644 (file)
@@ -154,7 +154,7 @@ extern struct work_queue *work_queue_new(struct thread_master *, const char *);
  * The usage of work_queue_free is being transitioned to pass
  * in the double pointer to remove use after free's.
  */
-#if defined(VERSION_TYPE_DEV) && CONFDATE > 20190205
+#if CONFDATE > 20190205
 CPP_NOTICE("work_queue_free without double pointer is deprecated, please fixup")
 #endif
 extern void work_queue_free_and_null(struct work_queue **);
index ad98b8db8776d39d7bd2f65839184e5dc4893f57..10a1723010ba4e4c893bbacc21ac5c299f131f1a 100644 (file)
@@ -457,7 +457,7 @@ struct zclient_options {
 extern struct zclient *zclient_new(struct thread_master *);
 
 /* clang-format off */
-#if defined(VERSION_TYPE_DEV) && CONFDATE > 20181101
+#if CONFDATE > 20181101
 CPP_NOTICE("zclient_new_notify can take over or zclient_new now");
 #endif
 /* clang-format on */
@@ -598,7 +598,7 @@ extern void zebra_interface_if_set_value(struct stream *, struct interface *);
 extern void zebra_router_id_update_read(struct stream *s, struct prefix *rid);
 
 /* clang-format off */
-#if defined(VERSION_TYPE_DEV) && CONFDATE > 20180823
+#if CONFDATE > 20180823
 CPP_NOTICE("zapi_ipv4_route, zapi_ipv6_route, zapi_ipv4_route_ipv6_nexthop as well as the zapi_ipv4 and zapi_ipv6 data structures should be removed now");
 #endif
 /* clang-format on */