diff options
Diffstat (limited to 'ccan')
-rw-r--r-- | ccan/list/list.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ccan/list/list.h b/ccan/list/list.h index 1a73510..646959e 100644 --- a/ccan/list/list.h +++ b/ccan/list/list.h @@ -412,7 +412,7 @@ static inline const void *list_tail_(const struct list_head *h, size_t off) /** * list_for_each_off - iterate through a list of memory regions. * @h: the list_head - * @i: the pointer to a memory region wich contains list node data. + * @i: the pointer to a memory region which contains list node data. * @off: offset(relative to @i) at which list node data resides. * * This is a low-level wrapper to iterate @i over the entire list, used to @@ -423,9 +423,9 @@ static inline const void *list_tail_(const struct list_head *h, size_t off) * nor care about the type of @i. The only assumtion made is that @i points * to a chunk of memory that at some @offset, relative to @i, contains a * properly filled `struct node_list' which in turn contains pointers to - * memory chunks and it's turtles all the way down. Whith all that in mind + * memory chunks and it's turtles all the way down. With all that in mind * remember that given the wrong pointer/offset couple this macro will - * happilly churn all you memory untill SEGFAULT stops it, in other words + * happily churn all you memory until SEGFAULT stops it, in other words * caveat emptor. * * It is worth mentioning that one of legitimate use-cases for that wrapper @@ -448,7 +448,7 @@ static inline const void *list_tail_(const struct list_head *h, size_t off) * list_for_each_safe_off - iterate through a list of memory regions, maybe * during deletion * @h: the list_head - * @i: the pointer to a memory region wich contains list node data. + * @i: the pointer to a memory region which contains list node data. * @nxt: the structure containing the list_node * @off: offset(relative to @i) at which list node data resides. * |