Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/adt/list.h

    r07525cd rfeeac0d  
    6868
    6969#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) \
    7171            for (link_t *_link = (list).head.next; \
    7272            iterator = list_get_instance(_link, itype, member), \
     
    186186 * @return Head item of the list.
    187187 * @return NULL if the list is empty.
    188  *
    189188 */
    190189static inline link_t *list_first(const list_t *list)
     
    199198 * @return Head item of the list.
    200199 * @return NULL if the list is empty.
    201  *
    202200 */
    203201static inline link_t *list_last(list_t *list)
Note: See TracChangeset for help on using the changeset viewer.