[ros-diffs] [fireball] 39041: - Stubplement SwapSplayLinks helper function, and make RtlDelete call it. - Fix a few lines having TABs instead of SPACEs.

fireball at svn.reactos.org fireball at svn.reactos.org
Fri Jan 23 13:20:38 CET 2009


Author: fireball
Date: Fri Jan 23 06:20:37 2009
New Revision: 39041

URL: http://svn.reactos.org/svn/reactos?rev=39041&view=rev
Log:
- Stubplement SwapSplayLinks helper function, and make RtlDelete call it.
- Fix a few lines having TABs instead of SPACEs.

Modified:
    trunk/reactos/lib/rtl/splaytree.c

Modified: trunk/reactos/lib/rtl/splaytree.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/splaytree.c?rev=39041&r1=39040&r2=39041&view=diff
==============================================================================
--- trunk/reactos/lib/rtl/splaytree.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/splaytree.c [iso-8859-1] Fri Jan 23 06:20:37 2009
@@ -15,6 +15,13 @@
 
 /* FUNCTIONS ***************************************************************/
 
+VOID
+SwapSplayLinks(PRTL_SPLAY_LINKS LinkA,
+               PRTL_SPLAY_LINKS LinkB)
+{
+    DPRINT1("UNIMPLEMENTED!\n");
+}
+
 /*
  * @implemented
  */
@@ -32,8 +39,7 @@
         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 @@
 */
 VOID
 NTAPI
-RtlDeleteNoSplay (
-	PRTL_SPLAY_LINKS Links,
-	PRTL_SPLAY_LINKS *Root
-	)
-{
-	UNIMPLEMENTED;
+RtlDeleteNoSplay(PRTL_SPLAY_LINKS Links,
+                 PRTL_SPLAY_LINKS *Root)
+{
+    UNIMPLEMENTED;
 }
 
 /*
@@ -508,8 +512,8 @@
         }
     }
 
-	/* Return the root entry */
-	return N;
+    /* Return the root entry */
+    return N;
 }
 
 /*



More information about the Ros-diffs mailing list