summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_times.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-03-13 18:08:07 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-03-13 18:08:07 +0000
commit2f916a972139be74d437e40bdc7d236401123170 (patch)
treefcd2498751fa4da54ce7b32cfea08975893d83c9 /src/core/ngx_times.h
parentb80f68aeda3d958c6c8e52a796fcc561cd9c6e1a (diff)
downloadnginx-2f916a972139be74d437e40bdc7d236401123170.tar.gz
nginx-2f916a972139be74d437e40bdc7d236401123170.tar.bz2
*) use previously cached GMT offset value to update time from a signal handler
*) change ngx_time_update() interface since there are no notification methods those return time
Diffstat (limited to 'src/core/ngx_times.h')
-rw-r--r--src/core/ngx_times.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/ngx_times.h b/src/core/ngx_times.h
index 8363ca136..4259d17d1 100644
--- a/src/core/ngx_times.h
+++ b/src/core/ngx_times.h
@@ -20,7 +20,7 @@ typedef struct {
void ngx_time_init(void);
-void ngx_time_update(time_t sec, ngx_uint_t msec);
+void ngx_time_update(ngx_uint_t use_cached_gmtoff);
u_char *ngx_http_time(u_char *buf, time_t t);
u_char *ngx_http_cookie_time(u_char *buf, time_t t);
void ngx_gmtime(time_t t, ngx_tm_t *tp);