[nginx] svn commit: r4694 - in trunk/src/os: unix win32

mdounin at mdounin.ru mdounin at mdounin.ru
Mon Jun 18 14:12:03 UTC 2012


Author: mdounin
Date: 2012-06-18 14:12:03 +0000 (Mon, 18 Jun 2012)
New Revision: 4694
URL: http://trac.nginx.org/nginx/changeset/4694/nginx

Log:
Fixed return type of ngx_strerror_init().


Modified:
   trunk/src/os/unix/ngx_errno.c
   trunk/src/os/unix/ngx_errno.h
   trunk/src/os/win32/ngx_errno.c
   trunk/src/os/win32/ngx_errno.h

Modified: trunk/src/os/unix/ngx_errno.c
===================================================================
--- trunk/src/os/unix/ngx_errno.c	2012-06-18 14:11:29 UTC (rev 4693)
+++ trunk/src/os/unix/ngx_errno.c	2012-06-18 14:12:03 UTC (rev 4694)
@@ -42,7 +42,7 @@
 }
 
 
-ngx_uint_t
+ngx_int_t
 ngx_strerror_init(void)
 {
     char       *msg;

Modified: trunk/src/os/unix/ngx_errno.h
===================================================================
--- trunk/src/os/unix/ngx_errno.h	2012-06-18 14:11:29 UTC (rev 4693)
+++ trunk/src/os/unix/ngx_errno.h	2012-06-18 14:12:03 UTC (rev 4694)
@@ -69,7 +69,7 @@
 
 
 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_ */

Modified: trunk/src/os/win32/ngx_errno.c
===================================================================
--- trunk/src/os/win32/ngx_errno.c	2012-06-18 14:11:29 UTC (rev 4693)
+++ trunk/src/os/win32/ngx_errno.c	2012-06-18 14:12:03 UTC (rev 4694)
@@ -53,7 +53,7 @@
 }
 
 
-ngx_uint_t
+ngx_int_t
 ngx_strerror_init(void)
 {
     return NGX_OK;

Modified: trunk/src/os/win32/ngx_errno.h
===================================================================
--- trunk/src/os/win32/ngx_errno.h	2012-06-18 14:11:29 UTC (rev 4693)
+++ trunk/src/os/win32/ngx_errno.h	2012-06-18 14:12:03 UTC (rev 4694)
@@ -59,7 +59,7 @@
 
 
 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_ */



More information about the nginx-devel mailing list