Changeset 4611094f in mainline for uspace/app/sbi/src/list.c
- Timestamp:
- 2011-03-20T19:09:19Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cfbcd86
- Parents:
- 8c76c30 (diff), 7308e84 (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/app/sbi/src/list.c
r8c76c30 r4611094f 1 1 /* 2 * Copyright (c) 201 0Jiri Svoboda2 * Copyright (c) 2011 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 57 57 } 58 58 59 /** Deinitialize list. 60 * 61 * @param list List to deinitialize. 62 */ 63 void list_fini(list_t *list) 64 { 65 assert(list_is_empty(list)); 66 67 list->head.prev = NULL; 68 list->head.next = NULL; 69 } 70 59 71 /** Append data to list. 60 72 *
Note:
See TracChangeset
for help on using the changeset viewer.