summaryrefslogtreecommitdiff
path: root/lib/workqueue.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/workqueue.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/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 fe1700f8de..6085820393 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 **);