chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hashmap: introduce hash_ops to make struct Hashmap smaller
[elogind.git]
/
src
/
shared
/
locale-util.c
diff --git
a/src/shared/locale-util.c
b/src/shared/locale-util.c
index 8d2c36303631e6a7226a5a0e6e5c7fa5c47d7323..68851ae13d38b0b40f245d859dea979b93e3f386 100644
(file)
--- a/
src/shared/locale-util.c
+++ b/
src/shared/locale-util.c
@@
-160,7
+160,7
@@
int get_locales(char ***ret) {
_cleanup_strv_free_ char **l = NULL;
int r;
- locales = set_new(
string_hash_func, string_compare_func
);
+ locales = set_new(
&string_hash_ops
);
if (!locales)
return -ENOMEM;