Clean up some compilation warnings for VxWorks
[yaffs2.git] / direct / yaffs_list.h
index a7afaea27b13b413007ca721efd9ab0a4eebc702..c0994934ad0af08d8a0523d9c12c33c55dcbba27 100644 (file)
@@ -36,6 +36,10 @@ struct list_head {
 
 
 /* Initialise a static list */
+#ifdef LIST_HEAD
+#undef LIST_HEAD
+#endif
+
 #define LIST_HEAD(name) \
 struct list_head name = { &(name), &(name)}