comparison th_util.c @ 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 29f9651465c6
children 3df6bec3c6b1
comparison
equal deleted inserted replaced
92:40568456eb5b 93:029b3dea31ff
293 293
294 list <- list -> NULL 294 list <- list -> NULL
295 295
296 296
297 */ 297 */
298 static void th_llist_delete_node_fast(qlist_t **list, qlist_t *node) 298 void th_llist_delete_node_fast(qlist_t **list, qlist_t *node)
299 { 299 {
300 if (node == *list) 300 if (node == *list)
301 { 301 {
302 /* First node in list */ 302 /* First node in list */
303 qlist_t *tmp = (*list)->next; 303 qlist_t *tmp = (*list)->next;