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