# HG changeset patch # User Matti Hamalainen # Date 1400697640 -10800 # Node ID 029b3dea31ffee540eb0a3db37135c609bce31cf # Parent 40568456eb5b13a0c8270c813bddacfd8db35754 Make th_llist_delete_node_fast() public. diff -r 40568456eb5b -r 029b3dea31ff th_util.c --- a/th_util.c Wed May 21 20:55:54 2014 +0300 +++ b/th_util.c Wed May 21 21:40:40 2014 +0300 @@ -295,7 +295,7 @@ */ -static void th_llist_delete_node_fast(qlist_t **list, qlist_t *node) +void th_llist_delete_node_fast(qlist_t **list, qlist_t *node) { if (node == *list) { diff -r 40568456eb5b -r 029b3dea31ff th_util.h --- a/th_util.h Wed May 21 20:55:54 2014 +0300 +++ b/th_util.h Wed May 21 21:40:40 2014 +0300 @@ -114,6 +114,7 @@ qlist_t * th_llist_prepend(qlist_t **list, void *data); void th_llist_delete(qlist_t **list, const void *data); void th_llist_delete_node(qlist_t **list, qlist_t *node); +void th_llist_delete_node_fast(qlist_t **list, qlist_t *node); qlist_t * th_llist_get_nth(qlist_t *list, const size_t n); size_t th_llist_length(const qlist_t *list);