Changeset f1d6866 in mainline for uspace/lib/c/include/adt/list.h
- Timestamp:
- 2011-09-18T21:22:59Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dcc44ca1
- Parents:
- 85ff862 (diff), 45a9cf4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/adt/list.h
r85ff862 rf1d6866 173 173 * 174 174 */ 175 static inline int list_empty( list_t *list)175 static inline int list_empty(const list_t *list) 176 176 { 177 177 return (list->head.next == &list->head); … … 186 186 * 187 187 */ 188 static inline link_t *list_first( list_t *list)188 static inline link_t *list_first(const list_t *list) 189 189 { 190 190 return ((list->head.next == &list->head) ? NULL : list->head.next);
Note:
See TracChangeset
for help on using the changeset viewer.