Changeset 98000fb in mainline for kernel/generic/src/adt/hash_table.c


Ignore:
Timestamp:
2009-06-03T19:34:45Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
301ff30
Parents:
69e68e3
Message:

remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed)

File:
1 edited

Legend:

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

    r69e68e3 r98000fb  
    5252 * @param op Hash table operations structure.
    5353 */
    54 void hash_table_create(hash_table_t *h, count_t m, count_t max_keys, hash_table_operations_t *op)
     54void hash_table_create(hash_table_t *h, size_t m, size_t max_keys, hash_table_operations_t *op)
    5555{
    56         index_t i;
     56        size_t i;
    5757
    5858        ASSERT(h);
     
    8484void hash_table_insert(hash_table_t *h, unative_t key[], link_t *item)
    8585{
    86         index_t chain;
     86        size_t chain;
    8787       
    8888        ASSERT(item);
     
    108108{
    109109        link_t *cur;
    110         index_t chain;
     110        size_t chain;
    111111       
    112112        ASSERT(h);
     
    138138 * @param keys Number of keys in the key array.
    139139 */
    140 void hash_table_remove(hash_table_t *h, unative_t key[], count_t keys)
     140void hash_table_remove(hash_table_t *h, unative_t key[], size_t keys)
    141141{
    142         index_t chain;
     142        size_t chain;
    143143        link_t *cur;
    144144       
Note: See TracChangeset for help on using the changeset viewer.