summaryrefslogtreecommitdiffstats
path: root/lib/workqueue.h
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2018-04-03 19:47:50 +0200
committerLou Berger <lberger@labn.net>2018-04-03 19:47:50 +0200
commite24be24183d053a322ca96d5d6f7dbc36100562c (patch)
tree62688a77ac53a21d429e1c6e1cba87417398e642 /lib/workqueue.h
parentMakefile.am: add automatic defintion of VERSION_TYPE_(DEV_|RELEASE) CPP type (diff)
downloadfrr-e24be24183d053a322ca96d5d6f7dbc36100562c.tar.xz
frr-e24be24183d053a322ca96d5d6f7dbc36100562c.zip
*: Only test CONFDATE when VERSION_TYPE_DEV defined
Signed-off-by: Lou Berger <lberger@labn.net>
Diffstat (limited to 'lib/workqueue.h')
-rw-r--r--lib/workqueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/workqueue.h b/lib/workqueue.h
index fe1700f8d..608582039 100644
--- a/lib/workqueue.h
+++ b/lib/workqueue.h
@@ -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 CONFDATE > 20190205
+#if defined(VERSION_TYPE_DEV) && 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 **);