summaryrefslogtreecommitdiff
path: root/src/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/list.c')
-rwxr-xr-xsrc/list.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/list.c b/src/list.c
index 56f7e17..27b0ed8 100755
--- a/src/list.c
+++ b/src/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 );