diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-08-30 14:34:31 -0700 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-08-30 14:34:31 -0700 |
commit | e06872e2f281c157b3f7478fad9469f1ec0257ba (patch) | |
tree | b47a7a69c81fd40a9b8d1c9c4e77efd53f5c8d48 | |
parent | d3f19d98cae610a9ddec9af5421f8af7c6663d9c (diff) | |
download | unit-e06872e2f281c157b3f7478fad9469f1ec0257ba.tar.gz unit-e06872e2f281c157b3f7478fad9469f1ec0257ba.tar.bz2 |
Avoid nxt_port_mmap_header_t redefinition warning.
-rw-r--r-- | src/nginext/nxt_go_port_memory.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/nginext/nxt_go_port_memory.h b/src/nginext/nxt_go_port_memory.h index ca0cc967..f6fe94e3 100644 --- a/src/nginext/nxt_go_port_memory.h +++ b/src/nginext/nxt_go_port_memory.h @@ -11,14 +11,12 @@ #include <nxt_main.h> #include <nxt_port_memory_int.h> -typedef struct nxt_port_mmap_header_s nxt_port_mmap_header_t; - #ifndef _NXT_GO_PROCESS_T_DEFINED_ #define _NXT_GO_PROCESS_T_DEFINED_ typedef struct nxt_go_process_s nxt_go_process_t; #endif -nxt_port_mmap_header_t * +struct nxt_port_mmap_header_s * nxt_go_port_mmap_get(nxt_go_process_t *process, nxt_port_id_t port_id, nxt_chunk_id_t *c); |