mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
Remove SetLastErrorByStatus, since it's no longer needed (it is a macro
now) and is giving compile errors svn path=/trunk/; revision=4590
This commit is contained in:
parent
ffa4267973
commit
01a868d4b8
1 changed files with 1 additions and 14 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: error.c,v 1.17 2003/01/15 21:24:34 chorns Exp $
|
/* $Id: error.c,v 1.18 2003/04/26 12:50:56 gvg Exp $
|
||||||
*
|
*
|
||||||
* reactos/lib/kernel32/misc/error.c
|
* reactos/lib/kernel32/misc/error.c
|
||||||
*
|
*
|
||||||
|
@ -10,19 +10,6 @@
|
||||||
#include <kernel32/kernel32.h>
|
#include <kernel32/kernel32.h>
|
||||||
|
|
||||||
|
|
||||||
/* INTERNAL */
|
|
||||||
DWORD
|
|
||||||
STDCALL
|
|
||||||
SetLastErrorByStatus (
|
|
||||||
NTSTATUS Status
|
|
||||||
)
|
|
||||||
{
|
|
||||||
DWORD Error = RtlNtStatusToDosError (Status);
|
|
||||||
SetLastError (Error);
|
|
||||||
return (Error);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
STDCALL
|
STDCALL
|
||||||
SetLastError (
|
SetLastError (
|
||||||
|
|
Loading…
Reference in a new issue