changeset 93:029b3dea31ff

Make th_llist_delete_node_fast() public.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 21 May 2014 21:40:40 +0300
parents 40568456eb5b
children a7ee189eed27
files th_util.c th_util.h
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)
     {
--- 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);