diff options
| author | Ruslan Ermilov <ru@nginx.com> | 2015-03-04 08:10:40 +0300 |
|---|---|---|
| committer | Ruslan Ermilov <ru@nginx.com> | 2015-03-04 08:10:40 +0300 |
| commit | c238150a57616e4bf7bda8f20fd27901ae323649 (patch) | |
| tree | 583fec86914c740aee79dee227a83813d46e1ac9 | |
| parent | 466b3b9250ba655b40a05652041463e74196cea8 (diff) | |
| download | nginx-c238150a57616e4bf7bda8f20fd27901ae323649.tar.gz nginx-c238150a57616e4bf7bda8f20fd27901ae323649.tar.bz2 | |
Style: moved ngx_http_ephemeral() macro to ngx_http_request.h.
| -rw-r--r-- | src/http/ngx_http.h | 3 | ||||
| -rw-r--r-- | src/http/ngx_http_request.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h index 0acc23494..935c9cc1c 100644 --- a/src/http/ngx_http.h +++ b/src/http/ngx_http.h @@ -131,9 +131,6 @@ void ngx_http_empty_handler(ngx_event_t *wev); void ngx_http_request_empty_handler(ngx_http_request_t *r); -#define ngx_http_ephemeral(r) (void *) (&r->uri_start) - - #define NGX_HTTP_LAST 1 #define NGX_HTTP_FLUSH 2 diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index 9be0c6e71..594648989 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -577,6 +577,9 @@ typedef struct { } ngx_http_ephemeral_t; +#define ngx_http_ephemeral(r) (void *) (&r->uri_start) + + extern ngx_http_header_t ngx_http_headers_in[]; extern ngx_http_header_out_t ngx_http_headers_out[]; |
