From: Lai Jiangshan Date: Thu, 20 Dec 2012 11:13:09 +0000 (-0500) Subject: urcu: fix comments for cds_list_for_each_prev() X-Git-Tag: v0.8.0~122 X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=commitdiff_plain;h=e4ad5cf830ebd8b8d8007412782ae8276bae678a urcu: fix comments for cds_list_for_each_prev() Signed-off-by: Lai Jiangshan Signed-off-by: Mathieu Desnoyers --- diff --git a/urcu/list.h b/urcu/list.h index f27ff7b..5d04394 100644 --- a/urcu/list.h +++ b/urcu/list.h @@ -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)