aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_time.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-10 21:09:22 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-11-10 21:09:22 +0000
commitd59a047a7070dc6af13b2e35c097efccc8ce38d0 (patch)
tree7efbd7a8fd2e4d871da3165dab7287c49fb0341e /src/os/unix/ngx_time.h
parent7832933eed3cb0187eca4fba87076f10c897925e (diff)
downloadnginx-d59a047a7070dc6af13b2e35c097efccc8ce38d0.tar.gz
nginx-d59a047a7070dc6af13b2e35c097efccc8ce38d0.zip
nginx-0.0.1-2003-11-11-00:09:22 import
Diffstat (limited to 'src/os/unix/ngx_time.h')
-rw-r--r--src/os/unix/ngx_time.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/os/unix/ngx_time.h b/src/os/unix/ngx_time.h
index ee5b47f9d..cdec417e2 100644
--- a/src/os/unix/ngx_time.h
+++ b/src/os/unix/ngx_time.h
@@ -23,8 +23,10 @@ void ngx_localtime(ngx_tm_t *tm);
ngx_msec_t ngx_msec(void);
-/* STUB */
-#define ngx_time() time(NULL)
+time_t ngx_time();
+
+extern time_t ngx_cached_time;
+
#endif /* _NGX_TIME_H_INCLUDED_ */