Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ns/service.c

    r5e801dc r0db0df2  
    7979}
    8080
    81 static bool service_key_equal(const void *key, const ht_link_t *item)
     81static bool service_key_equal(const void *key, size_t hash,
     82    const ht_link_t *item)
    8283{
    8384        const service_t *srv = key;
     
    102103}
    103104
    104 static bool iface_key_equal(const void *key, const ht_link_t *item)
     105static bool iface_key_equal(const void *key, size_t hash, const ht_link_t *item)
    105106{
    106107        const iface_t *kiface = key;
     
    112113
    113114/** Operations for service hash table. */
    114 static hash_table_ops_t service_hash_table_ops = {
     115static const hash_table_ops_t service_hash_table_ops = {
    115116        .hash = service_hash,
    116117        .key_hash = service_key_hash,
     
    121122
    122123/** Operations for interface hash table. */
    123 static hash_table_ops_t iface_hash_table_ops = {
     124static const hash_table_ops_t iface_hash_table_ops = {
    124125        .hash = iface_hash,
    125126        .key_hash = iface_key_hash,
Note: See TracChangeset for help on using the changeset viewer.