This commit is contained in:
Michael Tryby
2019-04-09 16:16:54 -04:00
parent dcfa51f938
commit 1fdee6ac7e

View File

@@ -67,9 +67,8 @@ void append_list(list_t *list, void *element);
*/ */
int size_list(list_t *list); int size_list(list_t *list);
/** /**
@brief Calles the supplied iterator function with the data element of each @brief Calls the supplied iterator function with the data element of each
node (iterates over the list). node (iterates over the list).
*/ */
void for_each_list(list_t *list, listIterator iterator); void for_each_list(list_t *list, listIterator iterator);
@@ -79,7 +78,6 @@ void for_each_list(list_t *list, listIterator iterator);
*/ */
void head_list(list_t *list, void *element, bool removeFromList); void head_list(list_t *list, void *element, bool removeFromList);
/** /**
@brief Returns the tail of the list. @brief Returns the tail of the list.
*/ */