diff --git a/reactos/lib/ntdll/def/ntdll.def b/reactos/lib/ntdll/def/ntdll.def index 708c03b440f..ff973c2b178 100644 --- a/reactos/lib/ntdll/def/ntdll.def +++ b/reactos/lib/ntdll/def/ntdll.def @@ -1,4 +1,4 @@ -; $Id: ntdll.def,v 1.106 2003/07/27 11:40:01 ekohl Exp $ +; $Id: ntdll.def,v 1.107 2003/08/22 13:46:55 ea Exp $ ; ; ReactOS Operating System ; @@ -490,7 +490,6 @@ RtlMultiByteToUnicodeSize@12 ;RtlNewSecurityObject RtlNormalizeProcessParams@4 RtlNtStatusToDosError@4 -RtlNtStatusToPsxErrno@4 ;RtlNumberGenericTableElements RtlNumberOfClearBits@4 RtlNumberOfSetBits@4 diff --git a/reactos/lib/ntdll/def/ntdll.edf b/reactos/lib/ntdll/def/ntdll.edf index 7c164627862..3d7363fde66 100644 --- a/reactos/lib/ntdll/def/ntdll.edf +++ b/reactos/lib/ntdll/def/ntdll.edf @@ -1,4 +1,4 @@ -; $Id: ntdll.edf,v 1.95 2003/07/27 11:40:01 ekohl Exp $ +; $Id: ntdll.edf,v 1.96 2003/08/22 13:46:55 ea Exp $ ; ; ReactOS Operating System ; @@ -489,7 +489,6 @@ RtlMultiByteToUnicodeSize=RtlMultiByteToUnicodeSize@12 ;RtlNewSecurityObject RtlNormalizeProcessParams=RtlNormalizeProcessParams@4 RtlNtStatusToDosError=RtlNtStatusToDosError@4 -RtlNtStatusToPsxErrno=RtlNtStatusToPsxErrno@4 ;RtlNumberGenericTableElements RtlNumberOfClearBits=RtlNumberOfClearBits@4 RtlNumberOfSetBits=RtlNumberOfSetBits@4 diff --git a/reactos/lib/ntdll/rtl/error.c b/reactos/lib/ntdll/rtl/error.c index 48b2d73adbf..c597bfdadbd 100644 --- a/reactos/lib/ntdll/rtl/error.c +++ b/reactos/lib/ntdll/rtl/error.c @@ -1,4 +1,4 @@ -/* $Id: error.c,v 1.13 2003/07/11 13:50:23 royce Exp $ +/* $Id: error.c,v 1.14 2003/08/22 13:45:34 ea Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -7,7 +7,6 @@ * PROGRAMER: Eric Kohl * REVISION HISTORY: * 22/07/99: Added RtlNtStatusToDosError. - * 1999-11-30: Added RtlNtStatusToPsxErrno. * 1999-12-18: STDCALL RtlNtStatusToDosError */ @@ -931,38 +930,4 @@ RtlNtStatusToDosError(NTSTATUS Status) } return RtlNtStatusToDosErrorNoTeb(Status); } - - -/********************************************************************** - * NAME EXPORTED - * RtlNtStatusToPsxErrno - * - * DESCRIPTION - * Convert an Executive status ID into a POSIX error number - * (errno.h). - * - * NOTE - * Not present in the legacy WNT (a ReactOS extension to support - * the POSIX+ subsystem). - * - * ARGUMENTS - * Status The Executive status ID to convert. - * - * RETURN VALUE - * errno as in errno.h - * - * REVISIONS - * 1999-11-30 ea - */ -INT STDCALL -RtlNtStatusToPsxErrno(IN NTSTATUS Status) -{ -#if 0 - switch (Status) - { - } -#endif - return -1; /* generic POSIX error */ -} - /* EOF */