Changeset 36795edf in mainline for uspace/lib/c/generic/adt/list.c
- Timestamp:
- 2021-03-12T19:16:51Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a85d5c6
- Parents:
- 17fac946
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/adt/list.c
r17fac946 r36795edf 41 41 #include <adt/list.h> 42 42 #include <stdbool.h> 43 #include <stdint.h> 43 44 44 45 /** Check for membership … … 100 101 * @return Number of items in the list. 101 102 */ 102 unsigned longlist_count(const list_t *list)103 size_t list_count(const list_t *list) 103 104 { 104 unsigned longcount = 0;105 size_t count = 0; 105 106 106 107 link_t *link = list_first(list);
Note:
See TracChangeset
for help on using the changeset viewer.