summaryrefslogtreecommitdiff
path: root/lib/zclient.h
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2018-04-05 01:23:37 +0100
committerGitHub <noreply@github.com>2018-04-05 01:23:37 +0100
commit381fec245296dace383fcdb4ff54bfa127dc63d3 (patch)
tree3db7c0d7de5af645ecb18e25caa175f8d4350090 /lib/zclient.h
parentf0e46860883e0c1c7063078f9da32af780daaed7 (diff)
parent5483f10004a72a95ce843934353c5a5dceebaec5 (diff)
Merge pull request #2023 from LabNConsulting/working/master/confdate+release
Use new way of avoiding deprecated related warnings in non-dev branches
Diffstat (limited to 'lib/zclient.h')
-rw-r--r--lib/zclient.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/zclient.h b/lib/zclient.h
index 04f2a5c178..9d3e5c3702 100644
--- a/lib/zclient.h
+++ b/lib/zclient.h
@@ -383,7 +383,7 @@ struct zclient_options {
extern struct zclient *zclient_new(struct thread_master *);
/* clang-format off */
-#if CONFDATE > 20181101
+#if defined(VERSION_TYPE_DEV) && CONFDATE > 20181101
CPP_NOTICE("zclient_new_notify can take over or zclient_new now");
#endif
/* clang-format on */
@@ -524,7 +524,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 CONFDATE > 20180823
+#if defined(VERSION_TYPE_DEV) && 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 */