Suppress warning.
[bertos.git] / mware / list.h
index 0fe471d031073ab7a7eed9c738f979ac23abd0dc..aaa2ad7c7053612ee9e93df32b146c0881826fbb 100755 (executable)
@@ -15,6 +15,9 @@
 
 /*#*
  *#* $Log$
+ *#* Revision 1.10  2004/11/28 23:21:05  bernie
+ *#* Remove obsolete INITLIST macro.
+ *#*
  *#* Revision 1.9  2004/10/21 09:37:55  bernie
  *#* Revamp documentation.
  *#*
@@ -47,6 +50,8 @@
 #ifndef MWARE_LIST_H
 #define MWARE_LIST_H
 
+#include <compiler.h> // INLINE
+
 /*!
  * This structure represents a node for bidirectional lists.
  *
@@ -110,9 +115,6 @@ typedef struct _List
                (l)->tail = (Node *)(&(l)->head); \
        } while (0)
 
-/* OBSOLETE */
-#define INITLIST(l) LIST_INIT(l)
-
 /*! Add node to list head. */
 #define ADDHEAD(l,n) \
        do { \