Fixing bug in head_list

This commit is contained in:
Michael Tryby
2019-04-09 18:09:41 -04:00
parent 1fdee6ac7e
commit 07995beda1
3 changed files with 37 additions and 4 deletions

View File

@@ -76,7 +76,7 @@ void for_each_list(list_t *list, listIterator iterator);
/**
@brief Returns the head of the list (optionally removing it at the same time).
*/
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.