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
/
readahead
/
readahead-collect.c
diff --git
a/src/readahead/readahead-collect.c
b/src/readahead/readahead-collect.c
index 1592cc86784ccae245c1ac0d6979e8a0d37101fe..822a803a41dde0f12fe78ce64c4f1c1718ace899 100644
(file)
--- a/
src/readahead/readahead-collect.c
+++ b/
src/readahead/readahead-collect.c
@@
-282,7
+282,7
@@
static int collect(const char *root) {
goto finish;
}
- files = hashmap_new(
string_hash_func, string_compare_func
);
+ files = hashmap_new(
&string_hash_ops
);
if (!files) {
log_error("Failed to allocate set.");
r = -ENOMEM;