Fixed return type of ngx_strerror_init().

This commit is contained in:
Maxim Dounin 2012-06-18 14:12:03 +00:00
parent 97f7bf25c9
commit 91c654debc
4 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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_ */

View File

@ -53,7 +53,7 @@ ngx_strerror(ngx_err_t err, u_char *errstr, size_t size)
}
ngx_uint_t
ngx_int_t
ngx_strerror_init(void)
{
return NGX_OK;

View File

@ -59,7 +59,7 @@ typedef DWORD 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_ */