From 1a803e7a6cf1965336d585462b4ff52bef6851a2 Mon Sep 17 00:00:00 2001 From: Luc Van Oostenryck Date: Mon, 30 Dec 2019 16:01:07 +0100 Subject: ptrlist: fix typos Fix some embarrassing typos. Signed-off-by: Luc Van Oostenryck --- ptrlist.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ptrlist.c b/ptrlist.c index 0fb28127..3af0b2c5 100644 --- a/ptrlist.c +++ b/ptrlist.c @@ -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; -- cgit 1.2.3-korg