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
/
login
/
logind-session.c
diff --git
a/src/login/logind-session.c
b/src/login/logind-session.c
index 10a43a4a30a344eb4349d226f11f863a881671bf..eeb58c9031b71d1bce41805cb778e6d4c7890d30 100644
(file)
--- a/
src/login/logind-session.c
+++ b/
src/login/logind-session.c
@@
-61,7
+61,7
@@
Session* session_new(Manager *m, const char *id) {
return NULL;
}
- s->devices = hashmap_new(
devt_hash_func, devt_compare_func
);
+ s->devices = hashmap_new(
&devt_hash_ops
);
if (!s->devices) {
free(s->state_file);
free(s);