diff -r 8170f658f017 -r 311cac04d079 ucx/ucx.h --- a/ucx/ucx.h Sat Jul 20 11:13:26 2013 +0200 +++ b/ucx/ucx.h Mon Jul 22 11:39:06 2013 +0200 @@ -47,33 +47,6 @@ #endif /** - * Generic loop statement for lists. - * - * The first argument is the type of the list and its elements (e.g. UcxList). - * The structure invariant of the list must be as follows: - * - * - * The second argument is a pointer to the list. In most cases this will be the - * pointer to the first element of the list, but it may also be an arbitrary - * element of the list. The iteration will then start with that element. - * - * The third argument is the name of the iteration variable. The scope of - * this variable is limited to the UCX_FOREACH statement. - * - * @param type The type of both the list and the element - * @param list The first element of the list - * @param elem The variable name of the element - */ -#define UCX_FOREACH(type,list,elem) \ - for (type elem = list ; elem != NULL ; elem = elem->next) - -/** * Function pointer to a compare function. * * The compare function shall take three arguments: the two values that shall be