diff -r bf19378aed58 -r 54433cb371df ucx/list.h --- a/ucx/list.h Fri Nov 18 15:27:45 2016 +0100 +++ b/ucx/list.h Fri Nov 18 16:00:15 2016 +0100 @@ -276,37 +276,6 @@ UcxList *ucx_list_prepend_a(UcxAllocator *allocator, UcxList *list, void *data); /** - * Inserts an element at the beginning of the list, if it is not present - * in the list. - * - * @param list the list where to insert the data or NULL to create - * a new list - * @param data the data to insert - * @param cmpfnc the compare function - * @param cmpdata additional data for the compare function - * @return a pointer to the new list head - * @see ucx_list_prepend() - */ -UcxList *ucx_list_prepend_once(UcxList *list, void *data, - cmp_func cmpfnc, void *cmpdata); - -/** - * Inserts an element at the beginning of the list, if it is not present in - * the list, using a UcxAllocator. - * - * @param allocator the allocator to use - * @param list the list where to insert the data or NULL to create - * a new list - * @param data the data to insert - * @param cmpfnc the compare function - * @param cmpdata additional data for the compare function - * @return a pointer to the new list head - * @see ucx_list_prepend_a() - */ -UcxList *ucx_list_prepend_once_a(UcxAllocator *allocator, - UcxList *list, void *data, cmp_func cmpfnc, void *cmpdata); - -/** * Concatenates two lists. * * Either of the two arguments may be NULL.