mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 08:25:48 +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 ***************************************************************/
|
/* FUNCTIONS ***************************************************************/
|
||||||
|
|
||||||
|
VOID
|
||||||
|
SwapSplayLinks(PRTL_SPLAY_LINKS LinkA,
|
||||||
|
PRTL_SPLAY_LINKS LinkB)
|
||||||
|
{
|
||||||
|
DPRINT1("UNIMPLEMENTED!\n");
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
|
@ -32,8 +39,7 @@ RtlDelete(PRTL_SPLAY_LINKS Links)
|
||||||
SP = RtlSubtreePredecessor(N);
|
SP = RtlSubtreePredecessor(N);
|
||||||
|
|
||||||
/* Swap it with N, this will guarantee that N will have only a child */
|
/* Swap it with N, this will guarantee that N will have only a child */
|
||||||
//SwapSplayLinks(SP, N);
|
SwapSplayLinks(SP, N);
|
||||||
DPRINT1("UNIMPLEMENTED!\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Check if we have no children */
|
/* Check if we have no children */
|
||||||
|
@ -103,12 +109,10 @@ RtlDelete(PRTL_SPLAY_LINKS Links)
|
||||||
*/
|
*/
|
||||||
VOID
|
VOID
|
||||||
NTAPI
|
NTAPI
|
||||||
RtlDeleteNoSplay (
|
RtlDeleteNoSplay(PRTL_SPLAY_LINKS Links,
|
||||||
PRTL_SPLAY_LINKS Links,
|
PRTL_SPLAY_LINKS *Root)
|
||||||
PRTL_SPLAY_LINKS *Root
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
UNIMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -508,8 +512,8 @@ RtlSplay(PRTL_SPLAY_LINKS Links)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Return the root entry */
|
/* Return the root entry */
|
||||||
return N;
|
return N;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue