aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-06-03 15:42:58 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-06-03 15:42:58 +0000
commit1c10462e88491d52a23e22fbc3ca0012591df095 (patch)
tree5a71cf54dda493188473693e5b66a08fc8cdf161 /src/os/unix
parent7578ec9df43bbb31db5291f1b76359d10900a679 (diff)
downloadnginx-1c10462e88491d52a23e22fbc3ca0012591df095.tar.gz
nginx-1c10462e88491d52a23e22fbc3ca0012591df095.zip
nginx-0.0.1-2003-06-03-19:42:58 import
Diffstat (limited to 'src/os/unix')
-rw-r--r--src/os/unix/ngx_errno.h1
-rw-r--r--src/os/unix/ngx_time.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/os/unix/ngx_errno.h b/src/os/unix/ngx_errno.h
index 91ac3ba69..feb9e4a08 100644
--- a/src/os/unix/ngx_errno.h
+++ b/src/os/unix/ngx_errno.h
@@ -5,6 +5,7 @@
#include <errno.h>
#include <string.h>
+
typedef int ngx_err_t;
#define NGX_ENOENT ENOENT
diff --git a/src/os/unix/ngx_time.h b/src/os/unix/ngx_time.h
index 5cd791d0e..4b5fa5949 100644
--- a/src/os/unix/ngx_time.h
+++ b/src/os/unix/ngx_time.h
@@ -24,7 +24,7 @@ void ngx_localtime(ngx_tm_t *tm);
ngx_msec_t ngx_msec(void);
/* STUB */
-#define ngx_time() time(NULL)
+#define ngx_time() time(NULL)
#endif /* _NGX_TIME_H_INCLUDED_ */