summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_main.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-06-20 19:49:17 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-06-20 19:49:17 +0300
commitf888a5310c1808902b4035ca3454b62bc5cf4434 (patch)
tree7425e11cdba27420d21468b0f79787834bd3c498 /src/nxt_main.h
parentc7ab908c19242a5ddd0233e123e8c2be210b3c02 (diff)
downloadunit-f888a5310c1808902b4035ca3454b62bc5cf4434.tar.gz
unit-f888a5310c1808902b4035ca3454b62bc5cf4434.tar.bz2
Using new memory pool implementation.
Diffstat (limited to 'src/nxt_main.h')
-rw-r--r--src/nxt_main.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/nxt_main.h b/src/nxt_main.h
index a7fa2355..d1230f71 100644
--- a/src/nxt_main.h
+++ b/src/nxt_main.h
@@ -14,8 +14,7 @@
#include <nxt_clang.h>
#include <nxt_types.h>
#include <nxt_time.h>
-
-typedef struct nxt_mem_pool_s nxt_mem_pool_t;
+#include <nxt_mp.h>
#include <nxt_array.h>
typedef struct nxt_port_s nxt_port_t;
@@ -32,8 +31,6 @@ typedef uint16_t nxt_port_id_t;
typedef struct nxt_thread_s nxt_thread_t;
#include <nxt_thread_id.h>
-#include <nxt_mem_pool.h>
-
#include <nxt_errno.h>
#include <nxt_file.h>
@@ -76,9 +73,7 @@ typedef struct {
} nxt_mem_proto_t;
-#include <nxt_mp.h>
#include <nxt_mem_zone.h>
-#include <nxt_mem_pool_cleanup.h>
#include <nxt_thread_time.h>
typedef struct nxt_event_engine_s nxt_event_engine_t;