diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/list.h | 2 | ||||
-rw-r--r-- | include/stringop.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/list.h b/include/list.h index 70af49f6..895f6cc0 100644 --- a/include/list.h +++ b/include/list.h @@ -31,5 +31,5 @@ void list_move_to_end(list_t *list, void *item); * Do not use this to free lists of primitives or items that require more * complicated deallocation code. */ -void free_flat_list(list_t *list); +void list_free_items_and_destroy(list_t *list); #endif diff --git a/include/stringop.h b/include/stringop.h index 215f7916..d1bfa29d 100644 --- a/include/stringop.h +++ b/include/stringop.h @@ -17,7 +17,7 @@ char *lenient_strncat(char *dest, const char *src, size_t len); // strcmp that also handles null pointers. int lenient_strcmp(char *a, char *b); -// Simply split a string with delims, free with `free_flat_list` +// Simply split a string with delims, free with `list_free_items_and_destroy` list_t *split_string(const char *str, const char *delims); // Splits an argument string, keeping quotes intact |