From 01a868d4b8b101c2c92bccee3edcd2cfdb0100eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Sat, 26 Apr 2003 12:50:56 +0000 Subject: [PATCH] Remove SetLastErrorByStatus, since it's no longer needed (it is a macro now) and is giving compile errors svn path=/trunk/; revision=4590 --- reactos/lib/kernel32/misc/error.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/reactos/lib/kernel32/misc/error.c b/reactos/lib/kernel32/misc/error.c index 1e36c5319d5..9fa50a6c39b 100644 --- a/reactos/lib/kernel32/misc/error.c +++ b/reactos/lib/kernel32/misc/error.c @@ -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 * @@ -10,19 +10,6 @@ #include -/* INTERNAL */ -DWORD -STDCALL -SetLastErrorByStatus ( - NTSTATUS Status - ) -{ - DWORD Error = RtlNtStatusToDosError (Status); - SetLastError (Error); - return (Error); -} - - VOID STDCALL SetLastError (