diff options
Diffstat (limited to 'modules/list.c')
| -rwxr-xr-x | modules/list.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/list.c b/modules/list.c index 56f7e17..27b0ed8 100755 --- a/modules/list.c +++ b/modules/list.c @@ -168,6 +168,11 @@ void delListItem(list_t *p, int n, void *f) delList(p, n); } +void listDoEmpty(list_t *p) +{ + p->count = 0; +} + void destroyList(list_t *p) { assert( p != NULL ); |