Changeset 4748038 in mainline
- Timestamp:
- 2011-09-15T21:30:25Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 47fecbb
- Parents:
- 818fffe
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/adt/list.h
r818fffe r4748038 173 173 * 174 174 */ 175 NO_TRACE static inline int list_empty( list_t *list)175 NO_TRACE 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); -
uspace/lib/c/include/adt/list.h
r818fffe r4748038 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.