Changeset 1433ecda in mainline for uspace/lib/pcut/src/list.c
- Timestamp:
- 2018-04-04T15:42:37Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c4e1cc
- Parents:
- 47b2d7e3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/pcut/src/list.c
r47b2d7e3 r1433ecda 43 43 * @return First item with actual content or NULL on end of list. 44 44 */ 45 pcut_item_t *pcut_get_real_next(pcut_item_t *item) { 45 pcut_item_t *pcut_get_real_next(pcut_item_t *item) 46 { 46 47 if (item == NULL) { 47 48 return NULL; … … 64 65 * @return First item with actual content or NULL on end of list. 65 66 */ 66 pcut_item_t *pcut_get_real(pcut_item_t *item) { 67 pcut_item_t *pcut_get_real(pcut_item_t *item) 68 { 67 69 if (item == NULL) { 68 70 return NULL; … … 81 83 * @param nested Head of the nested list. 82 84 */ 83 static void inline_nested_lists(pcut_item_t *nested) { 85 static void inline_nested_lists(pcut_item_t *nested) 86 { 84 87 pcut_item_t *first; 85 88 … … 108 111 * @param first List head. 109 112 */ 110 static void set_ids(pcut_item_t *first) { 113 static void set_ids(pcut_item_t *first) 114 { 111 115 int id = 1; 112 116 pcut_item_t *it; … … 131 135 * @param first Head of the list. 132 136 */ 133 static void detect_skipped_tests(pcut_item_t *first) { 137 static void detect_skipped_tests(pcut_item_t *first) 138 { 134 139 pcut_item_t *it; 135 140 … … 167 172 * @return Head of the fixed list. 168 173 */ 169 pcut_item_t *pcut_fix_list_get_real_head(pcut_item_t *last) { 174 pcut_item_t *pcut_fix_list_get_real_head(pcut_item_t *last) 175 { 170 176 pcut_item_t *next, *it; 171 177 … … 195 201 * @return Number of tests. 196 202 */ 197 int pcut_count_tests(pcut_item_t *it) { 203 int pcut_count_tests(pcut_item_t *it) 204 { 198 205 int count = 0; 199 206 while (it != NULL) {
Note:
See TracChangeset
for help on using the changeset viewer.