summaryrefslogtreecommitdiffhomepage
path: root/src/nginext/nxt_go_run_ctx.h
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2017-08-25 17:11:29 +0300
committerSergey Kandaurov <pluknet@nginx.com>2017-08-25 17:11:29 +0300
commit5118a0a89d3e10840f50a440b6c248a38a7071b1 (patch)
tree10135dfdd300cdf03c8c3d6356ba615ebfcef18f /src/nginext/nxt_go_run_ctx.h
parent2caa5cb845c80ee560d62cc8fc8cdc425c78cdf8 (diff)
downloadunit-5118a0a89d3e10840f50a440b6c248a38a7071b1.tar.gz
unit-5118a0a89d3e10840f50a440b6c248a38a7071b1.tar.bz2
Fixed typedef nxt_port_mmap_msg_t redefinition after 1b394e999c7c.
Redefinition of typedef is a C11 feature. On older compilers that default to C99, such as clang 3.4.1 supplied with FreeBSD 10, this caused -Wtypedef-redefinition warnings.
Diffstat (limited to 'src/nginext/nxt_go_run_ctx.h')
-rw-r--r--src/nginext/nxt_go_run_ctx.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nginext/nxt_go_run_ctx.h b/src/nginext/nxt_go_run_ctx.h
index 4ead1df5..62f6b133 100644
--- a/src/nginext/nxt_go_run_ctx.h
+++ b/src/nginext/nxt_go_run_ctx.h
@@ -14,7 +14,6 @@
typedef struct nxt_go_process_s nxt_go_process_t;
-typedef struct nxt_port_mmap_msg_s nxt_port_mmap_msg_t;
typedef struct nxt_go_msg_s nxt_go_msg_t;