mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:16:04 +00:00
- Stubplement SwapSplayLinks helper function, and make RtlDelete call it.
- Fix a few lines having TABs instead of SPACEs. svn path=/trunk/; revision=39041
This commit is contained in:
parent
41d698006f
commit
f0c446be0d
1 changed files with 13 additions and 9 deletions
|
@ -15,6 +15,13 @@
|
|||
|
||||
/* FUNCTIONS ***************************************************************/
|
||||
|
||||
VOID
|
||||
SwapSplayLinks(PRTL_SPLAY_LINKS LinkA,
|
||||
PRTL_SPLAY_LINKS LinkB)
|
||||
{
|
||||
DPRINT1("UNIMPLEMENTED!\n");
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
|
@ -32,8 +39,7 @@ RtlDelete(PRTL_SPLAY_LINKS Links)
|
|||
SP = RtlSubtreePredecessor(N);
|
||||
|
||||
/* Swap it with N, this will guarantee that N will have only a child */
|
||||
//SwapSplayLinks(SP, N);
|
||||
DPRINT1("UNIMPLEMENTED!\n");
|
||||
SwapSplayLinks(SP, N);
|
||||
}
|
||||
|
||||
/* Check if we have no children */
|
||||
|
@ -103,12 +109,10 @@ RtlDelete(PRTL_SPLAY_LINKS Links)
|
|||
*/
|
||||
VOID
|
||||
NTAPI
|
||||
RtlDeleteNoSplay (
|
||||
PRTL_SPLAY_LINKS Links,
|
||||
PRTL_SPLAY_LINKS *Root
|
||||
)
|
||||
RtlDeleteNoSplay(PRTL_SPLAY_LINKS Links,
|
||||
PRTL_SPLAY_LINKS *Root)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -508,8 +512,8 @@ RtlSplay(PRTL_SPLAY_LINKS Links)
|
|||
}
|
||||
}
|
||||
|
||||
/* Return the root entry */
|
||||
return N;
|
||||
/* Return the root entry */
|
||||
return N;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue