]> git.kaiwu.me - nginx.git/commitdiff
ngx_http_range_parse() should be static.
authorIgor Sysoev <igor@sysoev.ru>
Tue, 30 Aug 2011 13:07:33 +0000 (13:07 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Tue, 30 Aug 2011 13:07:33 +0000 (13:07 +0000)
src/http/modules/ngx_http_range_filter_module.c

index 52e45ae453d62703fadc3c472873c9ea37f6c0f7..57a502536318e2494829f2c8d6695be931abe6ee 100644 (file)
@@ -58,7 +58,7 @@ typedef struct {
 } ngx_http_range_filter_ctx_t;
 
 
-ngx_int_t ngx_http_range_parse(ngx_http_request_t *r,
+static ngx_int_t ngx_http_range_parse(ngx_http_request_t *r,
     ngx_http_range_filter_ctx_t *ctx);
 static ngx_int_t ngx_http_range_singlepart_header(ngx_http_request_t *r,
     ngx_http_range_filter_ctx_t *ctx);
@@ -230,7 +230,7 @@ next_filter:
 }
 
 
-ngx_int_t
+static ngx_int_t
 ngx_http_range_parse(ngx_http_request_t *r, ngx_http_range_filter_ctx_t *ctx)
 {
     u_char            *p;