Switch pqueue to size_t.
[libfirm] / include / libfirm / adt / list.h
index 35b4873..1cd8ea4 100644 (file)
@@ -1,4 +1,3 @@
-
 /**
  * @file
  * @brief   Doubly linked lists.
@@ -17,6 +16,8 @@
 
 #include <stdlib.h>
 
+#include "../begin.h"
+
 typedef struct list_head list_head;
 struct list_head {
        struct list_head *next, *prev;
@@ -96,7 +97,7 @@ static inline void __list_del(struct list_head * prev, struct list_head * next)
  * list_del - deletes entry from list.
  * @param entry  the element to delete from the list.
  *
- * @Note
+ * @note
  *   list_empty on entry does not return true after this, the entry is
  *   in an undefined state.
  */
@@ -278,5 +279,6 @@ static inline void list_splice_init(struct list_head *list,
             &pos->member != (head);                                    \
             pos = n, n = list_entry(n->member.next, type, member))
 
+#include "../end.h"
 
 #endif