summaryrefslogtreecommitdiff
path: root/modules/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/list.c')
-rwxr-xr-xmodules/list.c5
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 );