Removed duplicate declaration.

This commit is contained in:
Igor Sysoev
2017-12-28 20:50:49 +03:00
parent cb3c7dd40c
commit dbd7540a04
8 changed files with 7 additions and 10 deletions

View File

@@ -8,10 +8,10 @@
#include <nxt_main.h> #include <nxt_main.h>
#include <nxt_runtime.h> #include <nxt_runtime.h>
#include <nxt_application.h>
#include <nxt_main_process.h> #include <nxt_main_process.h>
#include <nxt_router.h> #include <nxt_router.h>
#include <nxt_http.h> #include <nxt_http.h>
#include <nxt_application.h>
#include <glob.h> #include <glob.h>

View File

@@ -115,8 +115,6 @@ typedef struct {
} nxt_app_request_t; } nxt_app_request_t;
typedef struct nxt_http_request_s nxt_http_request_t;
typedef struct nxt_app_parse_ctx_s nxt_app_parse_ctx_t; typedef struct nxt_app_parse_ctx_s nxt_app_parse_ctx_t;
struct nxt_app_parse_ctx_s { struct nxt_app_parse_ctx_s {

View File

@@ -6,7 +6,7 @@
#include <nxt_main.h> #include <nxt_main.h>
#include <nxt_conf.h> #include <nxt_conf.h>
#include <nxt_application.h> #include <nxt_router.h>
typedef struct { typedef struct {

View File

@@ -5,7 +5,7 @@
*/ */
#include <nxt_main.h> #include <nxt_main.h>
#include <nxt_application.h> #include <nxt_router.h>
static nxt_int_t nxt_go_init(nxt_task_t *task, nxt_common_app_conf_t *conf); static nxt_int_t nxt_go_init(nxt_task_t *task, nxt_common_app_conf_t *conf);

View File

@@ -46,9 +46,6 @@ typedef struct {
} nxt_http_request_state_t; } nxt_http_request_state_t;
typedef struct nxt_http_request_s nxt_http_request_t;
typedef struct { typedef struct {
nxt_http_request_parse_t parser; nxt_http_request_parse_t parser;

View File

@@ -9,7 +9,7 @@
#include <nxt_port.h> #include <nxt_port.h>
#include <nxt_main_process.h> #include <nxt_main_process.h>
#include <nxt_conf.h> #include <nxt_conf.h>
#include <nxt_application.h> #include <nxt_router.h>
typedef struct { typedef struct {

View File

@@ -13,7 +13,7 @@
#include <nxt_main.h> #include <nxt_main.h>
#include <nxt_runtime.h> #include <nxt_runtime.h>
#include <nxt_application.h> #include <nxt_router.h>
/* /*
* According to "PEP 3333 / A Note On String Types" * According to "PEP 3333 / A Note On String Types"

View File

@@ -11,6 +11,8 @@
#include <nxt_main.h> #include <nxt_main.h>
#include <nxt_runtime.h> #include <nxt_runtime.h>
#include <nxt_main_process.h> #include <nxt_main_process.h>
typedef struct nxt_http_request_s nxt_http_request_t;
#include <nxt_application.h> #include <nxt_application.h>