network: rename address_hash_ops -> address_hash_ops_free

Preparation for later commits.
This commit is contained in:
Yu Watanabe
2021-10-04 17:59:15 +09:00
parent 6bf03f6f4a
commit 5b43c2c843
+2 -2
View File
@@ -315,7 +315,7 @@ int address_compare_func(const Address *a1, const Address *a2) {
}
DEFINE_PRIVATE_HASH_OPS_WITH_KEY_DESTRUCTOR(
address_hash_ops,
address_hash_ops_free,
Address,
address_hash_func,
address_compare_func,
@@ -393,7 +393,7 @@ static int address_add(Link *link, Address *address) {
assert(link);
assert(address);
r = set_ensure_put(&link->addresses, &address_hash_ops, address);
r = set_ensure_put(&link->addresses, &address_hash_ops_free, address);
if (r < 0)
return r;
if (r == 0)