diff mcabber/src/list.h @ 28:0cd8025eebee

[/trunk] Changeset 44 by mikael * Some more fixes. * We can now build with GNU99 gcc extensions.
author mikael
date Mon, 28 Mar 2005 10:36:47 +0000
parents e88b15cbf2de
children f8f3c7493457
line wrap: on
line diff
--- a/mcabber/src/list.h	Mon Mar 28 09:18:01 2005 +0000
+++ b/mcabber/src/list.h	Mon Mar 28 10:36:47 2005 +0000
@@ -84,7 +84,8 @@
 /**
  * list_del - deletes entry from list.
  * @entry: the element to delete from the list.
- * Note: list_empty on entry does not return true after this, the entry is in an undefined state.
+ * Note: list_empty on entry does not return true after this, the entry is
+ *       in an undefined state.
  */
 static inline void list_del(struct list_head *entry)
 {
@@ -128,7 +129,7 @@
 }
 
 /**
- * list_empty - tests whether a list is empty
+ * list_empty - test whether a list is empty
  * @head: the list to test.
  */
 static inline int list_empty(struct list_head *head)
@@ -188,7 +189,7 @@
 	((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member)))
 
 /**
- * list_for_each_safe	-	iterate over a list safe against removal of list entry
+ * list_for_each_safe - iterate over a list safe against removal of list entry
  * @pos:	the &struct list_head to use as a loop counter.
  * @n:		another &struct list_head to use as temporary storage
  * @head:	the head for your list.
@@ -198,7 +199,8 @@
 		pos = n, n = pos->next)
 
 /**
- * list_for_each_entry_safe - iterate over list of given type safe against removal of list entry
+ * list_for_each_entry_safe - iterate over list of given type safe against
+ *                            removal of list entry
  * @pos:	the type * to use as a loop counter.
  * @n:		another type * to use as temporary storage
  * @head:	the head for your list.