diff -r 2df780a4482b -r 1f57f196d221 ucx/list.h
--- a/ucx/list.h Fri Mar 11 18:06:27 2016 +0100
+++ b/ucx/list.h Tue Aug 23 12:41:04 2016 +0200
@@ -46,13 +46,13 @@
/**
* Loop statement for UCX lists.
*
- * The first argument is a pointer to the list. In most cases this will be the
+ * The first argument is the name of the iteration variable. The scope of
+ * this variable is limited to the UCX_FOREACH
statement.
+ *
+ * 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 second argument is the name of the iteration variable. The scope of
- * this variable is limited to the UCX_FOREACH
statement.
- *
* @param list The first element of the list
* @param elem The variable name of the element
*/