diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-12-30 16:01:07 +0100 |
---|---|---|
committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-12-30 17:11:20 +0100 |
commit | 1a803e7a6cf1965336d585462b4ff52bef6851a2 (patch) | |
tree | e775ca74c863d82af46dbf97021a3786b32e2391 | |
parent | 341daf20fd91d57fa7c5c2a49a1a9f01dc0fe7e6 (diff) | |
download | sparse-1a803e7a6cf1965336d585462b4ff52bef6851a2.tar.gz |
ptrlist: fix typos
Fix some embarrassing typos.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r-- | ptrlist.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -215,7 +215,7 @@ restart: /// // split a ptrlist block -// @head: the ptrlist block to be splitted +// @head: the ptrlist block to be split // // A new block is inserted just after @head and the entries // at the half end of @head are moved to this new block. @@ -363,7 +363,7 @@ out: /// // remove the last entry of a ptrlist // @head: a pointer to the list -// @return: the last elemant of the list or NULL if the list is empty. +// @return: the last element of the list or NULL if the list is empty. // // :note: this doesn't repack the list void * undo_ptr_list_last(struct ptr_list **head) @@ -389,7 +389,7 @@ void * undo_ptr_list_last(struct ptr_list **head) /// // remove the last entry and repack the list // @head: a pointer to the list -// @return: the last elemant of the list or NULL if the list is empty. +// @return: the last element of the list or NULL if the list is empty. void * delete_ptr_list_last(struct ptr_list **head) { void *ptr = NULL; |