Skip to content

Commit

Permalink
Fixed return type of ngx_strerror_init().
Browse files Browse the repository at this point in the history
  • Loading branch information
mdounin committed Jun 18, 2012
1 parent 97f7bf2 commit 91c654d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/os/unix/ngx_errno.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/os/unix/ngx_errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_ */
2 changes: 1 addition & 1 deletion src/os/win32/ngx_errno.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/os/win32/ngx_errno.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_ */

0 comments on commit 91c654d

Please sign in to comment.