Author: akhaldi
Date: Mon May 12 19:44:41 2014
New Revision: 63263
URL:
http://svn.reactos.org/svn/reactos?rev=63263&view=rev
Log:
[CRT]
* _set_errno() returns an errno_t.
* error => value
CORE-8080
Modified:
trunk/reactos/lib/sdk/crt/stdlib/errno.c
Modified: trunk/reactos/lib/sdk/crt/stdlib/errno.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/stdlib/errno.c…
==============================================================================
--- trunk/reactos/lib/sdk/crt/stdlib/errno.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/crt/stdlib/errno.c [iso-8859-1] Mon May 12 19:44:41 2014
@@ -56,18 +56,18 @@
/*********************************************************************
* _set_errno (MSVCRT.@)
*/
-int CDECL _set_errno(int error)
+errno_t CDECL _set_errno(int value)
{
- *_errno() = error;
+ *_errno() = value;
return 0;
}
/*********************************************************************
* _set_doserrno (MSVCRT.@)
*/
-errno_t CDECL _set_doserrno(unsigned long error)
+errno_t CDECL _set_doserrno(unsigned long value)
{
- *__doserrno() = error;
+ *__doserrno() = value;
return 0;
}