#include "idev-internal.h"
#include "login-shared.h"
#include "macro.h"
-#include "set.h"
#include "udev-util.h"
#include "util.h"
return r;
}
- s->element_map = hashmap_new(string_hash_func, string_compare_func);
+ s->element_map = hashmap_new(&string_hash_ops);
if (!s->element_map)
return -ENOMEM;
- s->device_map = hashmap_new(string_hash_func, string_compare_func);
+ s->device_map = hashmap_new(&string_hash_ops);
if (!s->device_map)
return -ENOMEM;
if (sysbus)
c->sysbus = sd_bus_ref(sysbus);
- c->session_map = hashmap_new(string_hash_func, string_compare_func);
+ c->session_map = hashmap_new(&string_hash_ops);
if (!c->session_map)
return -ENOMEM;
- c->data_map = hashmap_new(string_hash_func, string_compare_func);
+ c->data_map = hashmap_new(&string_hash_ops);
if (!c->data_map)
return -ENOMEM;