From e06872e2f281c157b3f7478fad9469f1ec0257ba Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Wed, 30 Aug 2017 14:34:31 -0700 Subject: Avoid nxt_port_mmap_header_t redefinition warning. --- src/nginext/nxt_go_port_memory.h | 4 +--- 1 file changed, 1 insertion(+), 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 #include -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); -- cgit