summaryrefslogtreecommitdiffhomepage
path: root/src/go/unit/nxt_go_run_ctx.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-10-19 18:20:08 +0300
committerMax Romanov <max.romanov@nginx.com>2017-10-19 18:20:08 +0300
commitc8a8a7c2120e276777f97dcee6d489788417792a (patch)
treeee4c2a16567beecd382a0c61672b8812b10f764f /src/go/unit/nxt_go_run_ctx.c
parentf9f852008fcbe94c099d9d42cef010d74fea2574 (diff)
downloadunit-c8a8a7c2120e276777f97dcee6d489788417792a.tar.gz
unit-c8a8a7c2120e276777f97dcee6d489788417792a.tar.bz2
Fixing Go package build.
Go package build was broken by change 365:28b2a468be43.
Diffstat (limited to 'src/go/unit/nxt_go_run_ctx.c')
-rw-r--r--src/go/unit/nxt_go_run_ctx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/go/unit/nxt_go_run_ctx.c b/src/go/unit/nxt_go_run_ctx.c
index 0dd72f8b..68df8f49 100644
--- a/src/go/unit/nxt_go_run_ctx.c
+++ b/src/go/unit/nxt_go_run_ctx.c
@@ -24,7 +24,7 @@ nxt_go_ctx_msg_rbuf(nxt_go_run_ctx_t *ctx, nxt_go_msg_t *msg, nxt_buf_t *buf,
uint32_t n)
{
size_t nchunks;
- nxt_port_mmap_t *port_mmap;
+ nxt_go_port_mmap_t *port_mmap;
nxt_port_mmap_msg_t *mmap_msg;
if (nxt_slow_path(msg->mmap_msg == NULL)) {
@@ -116,7 +116,7 @@ nxt_go_ctx_release_msg(nxt_go_run_ctx_t *ctx, nxt_go_msg_t *msg)
{
u_char *b, *e;
nxt_chunk_id_t c;
- nxt_port_mmap_t *port_mmap;
+ nxt_go_port_mmap_t *port_mmap;
nxt_port_mmap_msg_t *mmap_msg, *end;
if (nxt_slow_path(msg->mmap_msg == NULL)) {
@@ -235,7 +235,7 @@ nxt_go_port_mmap_get_buf(nxt_go_run_ctx_t *ctx, size_t size)
size_t nchunks;
nxt_buf_t *buf;
nxt_chunk_id_t c;
- nxt_port_mmap_t *port_mmap;
+ nxt_go_port_mmap_t *port_mmap;
nxt_port_mmap_msg_t *mmap_msg;
nxt_port_mmap_header_t *hdr;