Changes in kernel/generic/include/adt/list.h [07525cd:feeac0d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/adt/list.h
r07525cd rfeeac0d 68 68 69 69 #define list_foreach(list, member, itype, iterator) \ 70 for (itype *iterator = NULL; iterator == NULL; iterator = (itype *)1) \70 for (itype *iterator = NULL; iterator == NULL; iterator =(itype *)1) \ 71 71 for (link_t *_link = (list).head.next; \ 72 72 iterator = list_get_instance(_link, itype, member), \ … … 186 186 * @return Head item of the list. 187 187 * @return NULL if the list is empty. 188 *189 188 */ 190 189 static inline link_t *list_first(const list_t *list) … … 199 198 * @return Head item of the list. 200 199 * @return NULL if the list is empty. 201 *202 200 */ 203 201 static inline link_t *list_last(list_t *list)
Note:
See TracChangeset
for help on using the changeset viewer.