summaryrefslogtreecommitdiff
path: root/src/basic/hashmap.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-27 00:02:45 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:57 +0100
commitd4510856a007712900795c79853d2218780c2321 (patch)
tree3c9bf5662f4017a6763c78d638e1e38b1a2ccdf4 /src/basic/hashmap.c
parent430f0182b72373145c839dbfe99d2382855cb8f8 (diff)
util-lib: move is_main_thread() to process-util.[ch]
Diffstat (limited to 'src/basic/hashmap.c')
-rw-r--r--src/basic/hashmap.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/basic/hashmap.c b/src/basic/hashmap.c
index 20e7e51d9e..015cc629b1 100644
--- a/src/basic/hashmap.c
+++ b/src/basic/hashmap.c
@@ -20,18 +20,19 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-#include <stdlib.h>
#include <errno.h>
#include <pthread.h>
+#include <stdlib.h>
-#include "util.h"
#include "hashmap.h"
-#include "set.h"
#include "macro.h"
-#include "siphash24.h"
-#include "strv.h"
#include "mempool.h"
+#include "process-util.h"
#include "random-util.h"
+#include "set.h"
+#include "siphash24.h"
+#include "strv.h"
+#include "util.h"
#ifdef ENABLE_DEBUG_HASHMAP
#include "list.h"