Changes in uspace/lib/c/generic/async/ports.c [5e801dc:0db0df2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/async/ports.c
r5e801dc r0db0df2 50 50 #include <as.h> 51 51 #include <abi/mm/as.h> 52 #include "../private/libc.h"53 52 #include "../private/fibril.h" 54 53 … … 115 114 } 116 115 117 static bool interface_key_equal(const void *key, const ht_link_t *item)116 static bool interface_key_equal(const void *key, size_t hash, const ht_link_t *item) 118 117 { 119 118 const iface_t *iface = key; … … 123 122 124 123 /** Operations for the port hash table. */ 125 static hash_table_ops_t interface_hash_table_ops = {124 static const hash_table_ops_t interface_hash_table_ops = { 126 125 .hash = interface_hash, 127 126 .key_hash = interface_key_hash, … … 143 142 } 144 143 145 static bool port_key_equal(const void *key, const ht_link_t *item)144 static bool port_key_equal(const void *key, size_t hash, const ht_link_t *item) 146 145 { 147 146 const port_id_t *port_id = key; … … 151 150 152 151 /** Operations for the port hash table. */ 153 static hash_table_ops_t port_hash_table_ops = {152 static const hash_table_ops_t port_hash_table_ops = { 154 153 .hash = port_hash, 155 154 .key_hash = port_key_hash,
Note:
See TracChangeset
for help on using the changeset viewer.