From e9912c00c417ce6bec2d4a2bdfe35afa5ba9e97f Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 4 Dec 2008 11:26:30 +0000 Subject: [PATCH] fix a comment, #undef RtlGetCallersaddress before implementing it svn path=/branches/ros-amd64-bringup/; revision=37844 --- reactos/lib/rtl/amd64/unwind.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/reactos/lib/rtl/amd64/unwind.c b/reactos/lib/rtl/amd64/unwind.c index aceddec6924..290ea5405ca 100644 --- a/reactos/lib/rtl/amd64/unwind.c +++ b/reactos/lib/rtl/amd64/unwind.c @@ -117,9 +117,7 @@ RtlLookupFunctionEntry( ULONG IndexLo, IndexHi, IndexMid; /* Find the corresponding table */ - FunctionTable = RtlLookupFunctionTable(ControlPc, - ImageBase, - &TableLength); + FunctionTable = RtlLookupFunctionTable(ControlPc, ImageBase, &TableLength); /* Fail, if no table is found */ if (!FunctionTable) @@ -544,8 +542,8 @@ RtlWalkFrameChain(OUT PVOID *Callers, return i; } -// CHEKCME: return PVOID? // http://undocumented.ntinternals.net/UserMode/Undocumented%20Functions/Debug/RtlGetCallersAddress.html +#undef RtlGetCallersAddress VOID NTAPI RtlGetCallersAddress(