From 91c654debc86b584b0d33ff8b30513105c8e5283 Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Mon, 18 Jun 2012 14:12:03 +0000 Subject: Fixed return type of ngx_strerror_init(). --- src/os/unix/ngx_errno.c | 2 +- src/os/unix/ngx_errno.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/os/unix') diff --git a/src/os/unix/ngx_errno.c b/src/os/unix/ngx_errno.c index 75176c49a..e787b2377 100644 --- a/src/os/unix/ngx_errno.c +++ b/src/os/unix/ngx_errno.c @@ -42,7 +42,7 @@ ngx_strerror(ngx_err_t err, u_char *errstr, size_t size) } -ngx_uint_t +ngx_int_t ngx_strerror_init(void) { char *msg; diff --git a/src/os/unix/ngx_errno.h b/src/os/unix/ngx_errno.h index 2912dea04..125087e78 100644 --- a/src/os/unix/ngx_errno.h +++ b/src/os/unix/ngx_errno.h @@ -69,7 +69,7 @@ typedef int ngx_err_t; u_char *ngx_strerror(ngx_err_t err, u_char *errstr, size_t size); -ngx_uint_t ngx_strerror_init(void); +ngx_int_t ngx_strerror_init(void); #endif /* _NGX_ERRNO_H_INCLUDED_ */ -- cgit