summaryrefslogtreecommitdiff
path: root/src/idlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/idlist.c')
-rw-r--r--src/idlist.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/idlist.c b/src/idlist.c
index 14db85f..e4e7c91 100644
--- a/src/idlist.c
+++ b/src/idlist.c
@@ -45,15 +45,6 @@ void list_rm_node(struct idlist *node)
}
}
-void list_foreach(struct idlist *list, void (*job)(void *))
-{
- if (list) {
- job(list->obj);
- while ((list = list->next))
- job(list->obj);
- }
-}
-
void list_destroy(struct idlist *list)
{
if (list) {