From d5d3b75d71ca0e9adcdb763389ad636973a572c9 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 25 Jan 2009 14:08:03 +0100 Subject: [PATCH] clists: improve doc. --- ucw/clists.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ucw/clists.h b/ucw/clists.h index 919abc07..2be40881 100644 --- a/ucw/clists.h +++ b/ucw/clists.h @@ -100,7 +100,7 @@ static inline int clist_empty(clist *l) #define CLIST_FOR_EACH_BACKWARDS(type,n,list) for(type n=(void*)(list).head.prev; (cnode*)(n) != &(list).head; n=(void*)((cnode*)(n))->prev) /** - * Insert a new node just after the node @after. To insert a new head, use @clist_add_head() instead. + * Insert a new node just after the node @after. To insert at the head of the list, use @clist_add_head() instead. **/ static inline void clist_insert_after(cnode *what, cnode *after) { @@ -112,7 +112,7 @@ static inline void clist_insert_after(cnode *what, cnode *after) } /** - * Insert a new node just before the node @before. To insert a new tail, use @clist_add_tail() instead. + * Insert a new node just before the node @before. To insert at the tail of the list, use @clist_add_tail() instead. **/ static inline void clist_insert_before(cnode *what, cnode *before) { -- 2.39.2