chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
importd: take a lock while we set up /var/lib/machines/
[elogind.git]
/
src
/
shared
/
hashmap.c
diff --git
a/src/shared/hashmap.c
b/src/shared/hashmap.c
index e63ba4bb5aa84d7eebe7770c0bcbb0daae538daa..48d75023918afadc54df0bf7597a9d38d79f485f 100644
(file)
--- a/
src/shared/hashmap.c
+++ b/
src/shared/hashmap.c
@@
-20,9
+20,7
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <assert.h>
#include <stdlib.h>
#include <stdlib.h>
-#include <string.h>
#include <errno.h>
#include "util.h"
#include <errno.h>
#include "util.h"
@@
-31,9
+29,12
@@
#include "macro.h"
#include "siphash24.h"
#include "strv.h"
#include "macro.h"
#include "siphash24.h"
#include "strv.h"
-#include "list.h"
#include "mempool.h"
#include "mempool.h"
+#ifdef ENABLE_DEBUG_HASHMAP
+#include "list.h"
+#endif
+
/*
* Implementation of hashmaps.
* Addressing: open
/*
* Implementation of hashmaps.
* Addressing: open