Mercurial > hg > th-libs
comparison th_util.c @ 154:a6f175e301cc
Cosmetic.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 07 Feb 2015 00:33:16 +0200 |
parents | b4e1b15a64e1 |
children | 79e904905dbf |
comparison
equal
deleted
inserted
replaced
153:4cd94649475d | 154:a6f175e301cc |
---|---|
236 { | 236 { |
237 th_llist_t *res = th_malloc0(sizeof(th_llist_t)); | 237 th_llist_t *res = th_malloc0(sizeof(th_llist_t)); |
238 res->data = data; | 238 res->data = data; |
239 return res; | 239 return res; |
240 } | 240 } |
241 | |
241 | 242 |
242 void th_llist_free_func(th_llist_t *list, void (*freefunc)(void *data)) | 243 void th_llist_free_func(th_llist_t *list, void (*freefunc)(void *data)) |
243 { | 244 { |
244 th_llist_t *curr = list; | 245 th_llist_t *curr = list; |
245 | 246 |