Changeset df13836 in mainline for kernel/generic/src/adt/list.c


Ignore:
Timestamp:
2015-08-30T14:38:17Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
be12474
Parents:
616f5dd3
Message:

Use bool for boolean values, unsigned long for counting heap objects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/adt/list.c

    r616f5dd3 rdf13836  
    5252 *
    5353 */
    54 int list_member(const link_t *link, const list_t *list)
     54bool list_member(const link_t *link, const list_t *list)
    5555{
    5656        bool found = false;
     
    9999 * @return              Number of items in the list.
    100100 */
    101 unsigned int list_count(const list_t *list)
     101unsigned long list_count(const list_t *list)
    102102{
    103         unsigned int count = 0;
     103        unsigned long count = 0;
    104104       
    105105        link_t *link = list_first(list);
Note: See TracChangeset for help on using the changeset viewer.