ucx/dlist.c

changeset 27
22644e2572bc
parent 22
76cdd8209f1f
child 31
91ac86557290
     1.1 --- a/ucx/dlist.c	Sat Feb 18 15:50:43 2012 +0100
     1.2 +++ b/ucx/dlist.c	Sat Feb 18 18:36:30 2012 +0100
     1.3 @@ -112,16 +112,6 @@
     1.4      return s;
     1.5  }
     1.6  
     1.7 -void ucx_dlist_foreach(UcxDlist *l, ucx_callback fnc, void* data) {
     1.8 -    UcxDlist *e = l;
     1.9 -    UcxDlist *n;
    1.10 -    while (e != NULL) {
    1.11 -        n = e->next;
    1.12 -        fnc(e, data);
    1.13 -        e = n;
    1.14 -    }
    1.15 -}
    1.16 -
    1.17  /* dlist specific functions */
    1.18  UcxDlist *ucx_dlist_first(UcxDlist *l) {
    1.19      if (l == NULL) return NULL;

mercurial