summaryrefslogtreecommitdiffstats
path: root/lib/linklist.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/linklist.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/linklist.h')
-rw-r--r--lib/linklist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/linklist.h b/lib/linklist.h
index 46617b5f6..ae150158a 100644
--- a/lib/linklist.h
+++ b/lib/linklist.h
@@ -84,7 +84,7 @@ extern void *listnode_head(struct list *);
* and remove list_delete_original and the list_delete #define
* Additionally remove list_free entirely
*/
-#if CONFDATE > 20181001
+#if defined(VERSION_TYPE_DEV) && CONFDATE > 20181001
CPP_NOTICE("list_delete without double pointer is deprecated, please fixup")
#endif
extern void list_delete_and_null(struct list **);