[nginx] Style: moved ngx_http_ephemeral() macro to ngx_http_requ...

Ruslan Ermilov ru at nginx.com
Thu Mar 5 06:17:19 UTC 2015


details:   http://hg.nginx.org/nginx/rev/f8ee988cfe6d
branches:  
changeset: 6002:f8ee988cfe6d
user:      Ruslan Ermilov <ru at nginx.com>
date:      Wed Mar 04 08:10:40 2015 +0300
description:
Style: moved ngx_http_ephemeral() macro to ngx_http_request.h.

diffstat:

 src/http/ngx_http.h         |  3 ---
 src/http/ngx_http_request.h |  3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r add12ee1d01c -r f8ee988cfe6d src/http/ngx_http.h
--- a/src/http/ngx_http.h	Wed Mar 04 08:05:38 2015 +0300
+++ b/src/http/ngx_http.h	Wed Mar 04 08:10:40 2015 +0300
@@ -131,9 +131,6 @@ void ngx_http_empty_handler(ngx_event_t 
 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 -r add12ee1d01c -r f8ee988cfe6d src/http/ngx_http_request.h
--- a/src/http/ngx_http_request.h	Wed Mar 04 08:05:38 2015 +0300
+++ b/src/http/ngx_http_request.h	Wed Mar 04 08:10:40 2015 +0300
@@ -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[];
 



More information about the nginx-devel mailing list