Changes in uspace/srv/ns/service.c [5e801dc:0db0df2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/ns/service.c
r5e801dc r0db0df2 79 79 } 80 80 81 static bool service_key_equal(const void *key, const ht_link_t *item) 81 static bool service_key_equal(const void *key, size_t hash, 82 const ht_link_t *item) 82 83 { 83 84 const service_t *srv = key; … … 102 103 } 103 104 104 static bool iface_key_equal(const void *key, const ht_link_t *item)105 static bool iface_key_equal(const void *key, size_t hash, const ht_link_t *item) 105 106 { 106 107 const iface_t *kiface = key; … … 112 113 113 114 /** Operations for service hash table. */ 114 static hash_table_ops_t service_hash_table_ops = {115 static const hash_table_ops_t service_hash_table_ops = { 115 116 .hash = service_hash, 116 117 .key_hash = service_key_hash, … … 121 122 122 123 /** Operations for interface hash table. */ 123 static hash_table_ops_t iface_hash_table_ops = {124 static const hash_table_ops_t iface_hash_table_ops = { 124 125 .hash = iface_hash, 125 126 .key_hash = iface_key_hash,
Note:
See TracChangeset
for help on using the changeset viewer.