summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_parse_time.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/ngx_parse_time.c (renamed from src/http/ngx_http_parse_time.c)3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/http/ngx_http_parse_time.c b/src/core/ngx_parse_time.c
index 985af3172..831cc71bf 100644
--- a/src/http/ngx_http_parse_time.c
+++ b/src/core/ngx_parse_time.c
@@ -7,13 +7,12 @@
#include <ngx_config.h>
#include <ngx_core.h>
-#include <ngx_http.h>
static ngx_uint_t mday[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
time_t
-ngx_http_parse_time(u_char *value, size_t len)
+ngx_parse_http_time(u_char *value, size_t len)
{
u_char *p, *end;
ngx_int_t month;