diff --git a/include/list.h b/include/list.h index 9222500..0038f44 100644 --- a/include/list.h +++ b/include/list.h @@ -54,16 +54,6 @@ do { \ } \ } while (0) -/* - list_do(list, node) { - stuff; - } while (!list_done(list, node)); - */ -#define list_do(list, curr) \ - if (*list && (curr = *list)) do - -#define list_done(list, curr) \ - (curr && (((curr = (void *)le(curr)->le_next)) && (curr == *list))) /* * list_for(list, tmp, counter) {