Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 98000fb in mainline for kernel/generic/src/synch/futex.c


Ignore:
Timestamp:
2009-06-03T19:34:45Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
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/synch/futex.c

    r69e68e3 r98000fb  
    6060
    6161static futex_t *futex_find(uintptr_t paddr);
    62 static index_t futex_ht_hash(unative_t *key);
    63 static bool futex_ht_compare(unative_t *key, count_t keys, link_t *item);
     62static size_t futex_ht_hash(unative_t *key);
     63static bool futex_ht_compare(unative_t *key, size_t keys, link_t *item);
    6464static void futex_ht_remove_callback(link_t *item);
    6565
     
    289289 * @return Index into futex hash table.
    290290 */
    291 index_t futex_ht_hash(unative_t *key)
    292 {
    293         return *key & (FUTEX_HT_SIZE-1);
     291size_t futex_ht_hash(unative_t *key)
     292{
     293        return (*key & (FUTEX_HT_SIZE - 1));
    294294}
    295295
     
    301301 * @return True if the item matches the key. False otherwise.
    302302 */
    303 bool futex_ht_compare(unative_t *key, count_t keys, link_t *item)
     303bool futex_ht_compare(unative_t *key, size_t keys, link_t *item)
    304304{
    305305        futex_t *futex;
Note: See TracChangeset for help on using the changeset viewer.