Add definition when not in _DEBUG mode.
authorlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 8 Jul 2009 13:13:35 +0000 (13:13 +0000)
committerlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 8 Jul 2009 13:13:35 +0000 (13:13 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2751 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/struct/list.h

index 62abdc4a83f8bd3a6c319f470a355b061ec05ed3..f9dc9294a75dbf545ce07c7d233f3af38e3524ee 100644 (file)
@@ -216,6 +216,7 @@ typedef struct _PriNode
        #define INVALIDATE_NODE(n) ((n)->succ = (n)->pred = NULL)
 #else
        #define LIST_ASSERT_VALID(l) do {} while (0)
+       #define LIST_ASSERT_NOT_CONTAINS(list,node) do {} while (0)
        #define INVALIDATE_NODE(n) do {} while (0)
 #endif