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
/
analyze
/
analyze.c
diff --git
a/src/analyze/analyze.c
b/src/analyze/analyze.c
index 82f5cf3c57d044c41b50d6c046b8fe45bdff838c..5e55988063585b2a93662baedeb4082d149941eb 100644
(file)
--- a/
src/analyze/analyze.c
+++ b/
src/analyze/analyze.c
@@
-907,7
+907,7
@@
static int analyze_critical_chain(sd_bus *bus, char *names[]) {
if (n <= 0)
return n;
if (n <= 0)
return n;
- h = hashmap_new(
string_hash_func, string_compare_func
);
+ h = hashmap_new(
&string_hash_ops
);
if (!h)
return -ENOMEM;
if (!h)
return -ENOMEM;