aboutsummaryrefslogtreecommitdiff
path: root/libbb/llist.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/llist.c')
-rw-r--r--libbb/llist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/llist.c b/libbb/llist.c
index ed84e6472..032e9fac8 100644
--- a/libbb/llist.c
+++ b/libbb/llist.c
@@ -62,7 +62,7 @@ void FAST_FUNC llist_unlink(llist_t **head, llist_t *elm)
62 62
63/* Recursively free all elements in the linked list. If freeit != NULL 63/* Recursively free all elements in the linked list. If freeit != NULL
64 * call it on each datum in the list */ 64 * call it on each datum in the list */
65void FAST_FUNC llist_free(llist_t *elm, void (*freeit) (void *data)) 65void FAST_FUNC llist_free(llist_t *elm, void (*freeit)(void *data))
66{ 66{
67 while (elm) { 67 while (elm) {
68 void *data = llist_pop(&elm); 68 void *data = llist_pop(&elm);