X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=ll.c;h=d39acb316b520755f6da271e5b3668057ebf9e25;hb=5d859953e393a2539e67df3ce73798e7029cf5b9;hp=ed6315a4e2048b1a5d0b8ec56f79a96218e380b6;hpb=5e1b22d763640c4d7a09d07920403d8d491b4410;p=onak.git diff --git a/ll.c b/ll.c index ed6315a..d39acb3 100644 --- a/ll.c +++ b/ll.c @@ -120,15 +120,6 @@ unsigned long llsize(struct ll *curll) return count; } -/** - * llfree - Frees a linked list. - * @curll: The list to free. - * @objectfree: A pointer to a free function for the object. - * - * Walks through a list and free it. If a function is provided for - * objectfree then it's called for each element to free them, if it's NULL - * just the list is freed. - */ void llfree(struct ll *curll, void (*objectfree) (void *object)) { struct ll *nextll;