Fix compilation issues on pool.h
authorlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 3 Jan 2011 09:52:12 +0000 (09:52 +0000)
committerlottaviano <lottaviano@38d2e660-2303-0410-9eaa-f027e97ec537>
Mon, 3 Jan 2011 09:52:12 +0000 (09:52 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4662 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/struct/pool.h

index f53d4061c828bb3679ddf3381cd201922811bf4a..40ac79c7c3813fee32a255bfa850c899c4a54143 100644 (file)
@@ -68,6 +68,6 @@
 #define pool_init(name, init_func)     (*(name##_init))(init_func)
 #define pool_alloc(name)               list_remHead(name)
 #define pool_free(name, elem)          ADDHEAD(name, (Node*)elem)
-#define pool_empty(name)               ISLISTEMPTY(name)
+#define pool_empty(name)               LIST_EMPTY(name)
 
 #endif /* STRUCT_POOL_H */