urcu: fix comments for cds_list_for_each_prev()
[urcu.git] / urcu / list.h
index f27ff7ba7900ddcf17ba9be95087d1bd4fee1c5f..5d04394f5295ac15f7593bb54fd0b5c26f4798c7 100644 (file)
@@ -141,7 +141,7 @@ cds_list_splice (struct cds_list_head *add, struct cds_list_head *head)
   for (pos = (head)->next; pos != (head); pos = pos->next)
 
 
-/* Iterate forward over the elements of the list.  */
+/* Iterate backward over the elements of the list.  */
 #define cds_list_for_each_prev(pos, head) \
   for (pos = (head)->prev; pos != (head); pos = pos->prev)
 
This page took 0.024162 seconds and 4 git commands to generate.