Author: fireball
Date: Mon May 4 17:26:24 2009
New Revision: 40783
URL:
http://svn.reactos.org/svn/reactos?rev=40783&view=rev
Log:
- Implement RtlDecodePointer and remove respective redefining hack from vectoreh.c.
Modified:
trunk/reactos/lib/rtl/process.c
trunk/reactos/lib/rtl/vectoreh.c
Modified: trunk/reactos/lib/rtl/process.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/process.c?rev=4078…
==============================================================================
--- trunk/reactos/lib/rtl/process.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/process.c [iso-8859-1] Mon May 4 17:26:24 2009
@@ -330,6 +330,16 @@
}
/*
+ * @implemented
+ */
+PVOID
+NTAPI
+RtlDecodePointer(IN PVOID Pointer)
+{
+ return RtlEncodePointer(Pointer);
+}
+
+/*
* @unimplemented
*/
PVOID
Modified: trunk/reactos/lib/rtl/vectoreh.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/vectoreh.c?rev=407…
==============================================================================
--- trunk/reactos/lib/rtl/vectoreh.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/vectoreh.c [iso-8859-1] Mon May 4 17:26:24 2009
@@ -21,10 +21,6 @@
LIST_ENTRY ListEntry;
PVECTORED_EXCEPTION_HANDLER VectoredHandler;
} RTL_VECTORED_EXCEPTION_HANDLER, *PRTL_VECTORED_EXCEPTION_HANDLER;
-
-/* FIXME - stupid ld won't resolve RtlDecodePointer! Since their implementation
- is the same just use RtlEncodePointer for now! */
-#define RtlDecodePointer RtlEncodePointer
/* FUNCTIONS ***************************************************************/