Ignore:
File:
1 edited

Legend:

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

    rfeeac0d r07525cd  
    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 *
    188189 */
    189190static inline link_t *list_first(const list_t *list)
     
    198199 * @return Head item of the list.
    199200 * @return NULL if the list is empty.
     201 *
    200202 */
    201203static inline link_t *list_last(list_t *list)
Note: See TracChangeset for help on using the changeset viewer.