summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2020-02-04 11:39:16 +0300
committerMax Romanov <max.romanov@nginx.com>2020-02-04 11:39:16 +0300
commit7c38650cd12b9d5b14aec5d416fa3b57918cee50 (patch)
tree6cb6c3f5aa0fbaeb5b13bf6b61467b0ac0a591c3
parent8eba2e5c3d8537521d3e010025e6078bc1fd28d6 (diff)
downloadunit-7c38650cd12b9d5b14aec5d416fa3b57918cee50.tar.gz
unit-7c38650cd12b9d5b14aec5d416fa3b57918cee50.tar.bz2
Removing duplicate macro definitions.
This issue was introduced in 2c7f79bf0a1f.
-rw-r--r--src/nxt_unit.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/nxt_unit.c b/src/nxt_unit.c
index ab622e56..7c3d945c 100644
--- a/src/nxt_unit.c
+++ b/src/nxt_unit.c
@@ -23,10 +23,6 @@
#define NXT_UNIT_LOCAL_BUF_SIZE \
(NXT_UNIT_MAX_PLAIN_SIZE + sizeof(nxt_port_msg_t))
-#define NXT_UNIT_MAX_PLAIN_SIZE 1024
-#define NXT_UNIT_LOCAL_BUF_SIZE \
- (NXT_UNIT_MAX_PLAIN_SIZE + sizeof(nxt_port_msg_t))
-
typedef struct nxt_unit_impl_s nxt_unit_impl_t;
typedef struct nxt_unit_mmap_s nxt_unit_mmap_t;
typedef struct nxt_unit_mmaps_s nxt_unit_mmaps_t;