mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
Fixed return type of ngx_strerror_init().
This commit is contained in:
parent
97f7bf25c9
commit
91c654debc
@ -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;
|
||||
|
@ -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_ */
|
||||
|
@ -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;
|
||||
|
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user