# HG changeset patch # User Mike Becker # Date 1445506540 -7200 # Node ID c766c423dee69e531d69d2adc30aee735685cd0a # Parent 07a284486fa11a0109e2ed971b66b6adf958747e fixed name of ucx_list_free_content() diff -r 07a284486fa1 -r c766c423dee6 test/list_tests.c --- a/test/list_tests.c Wed Oct 21 16:32:30 2015 +0200 +++ b/test/list_tests.c Thu Oct 22 11:35:40 2015 +0200 @@ -341,7 +341,7 @@ UCX_TEST_END - ucx_list_free_contents(copy, free); + ucx_list_free_content(copy, free); free(world); free(hello); diff -r 07a284486fa1 -r c766c423dee6 ucx/list.c --- a/ucx/list.c Wed Oct 21 16:32:30 2015 +0200 +++ b/ucx/list.c Thu Oct 22 11:35:40 2015 +0200 @@ -76,7 +76,7 @@ } } -void ucx_list_free_contents(UcxList* list, ucx_destructor destr) { +void ucx_list_free_content(UcxList* list, ucx_destructor destr) { while (list != NULL) { destr(list->data); list = list->next; diff -r 07a284486fa1 -r c766c423dee6 ucx/list.h --- a/ucx/list.h Wed Oct 21 16:32:30 2015 +0200 +++ b/ucx/list.h Thu Oct 22 11:35:40 2015 +0200 @@ -179,7 +179,7 @@ * @param destr the destructor function (e.g. stdlib free()) * @see ucx_list_free() */ -void ucx_list_free_contents(UcxList* list, ucx_destructor destr); +void ucx_list_free_content(UcxList* list, ucx_destructor destr); /**