Changeset 04803bf in mainline for kernel/generic/src/adt/hash_table.c


Ignore:
Timestamp:
2011-03-21T22:00:17Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
143932e3
Parents:
b50b5af2 (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.
Message:

Merge mainline changes (needs fixes).

File:
1 edited

Legend:

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

    rb50b5af2 r04803bf  
    4040#include <adt/hash_table.h>
    4141#include <adt/list.h>
    42 #include <arch/types.h>
     42#include <typedefs.h>
    4343#include <debug.h>
    4444#include <mm/slab.h>
     
    8282 * @param item Item to be inserted into the hash table.
    8383 */
    84 void hash_table_insert(hash_table_t *h, unative_t key[], link_t *item)
     84void hash_table_insert(hash_table_t *h, sysarg_t key[], link_t *item)
    8585{
    8686        size_t chain;
     
    105105 * @return Matching item on success, NULL if there is no such item.
    106106 */
    107 link_t *hash_table_find(hash_table_t *h, unative_t key[])
     107link_t *hash_table_find(hash_table_t *h, sysarg_t key[])
    108108{
    109109        link_t *cur;
     
    138138 * @param keys Number of keys in the key array.
    139139 */
    140 void hash_table_remove(hash_table_t *h, unative_t key[], size_t keys)
     140void hash_table_remove(hash_table_t *h, sysarg_t key[], size_t keys)
    141141{
    142142        size_t chain;
Note: See TracChangeset for help on using the changeset viewer.