update for HEAD-2003021201
[reactos.git] / lib / ntdll / rtl / mem.c
index d117b28..393f2d6 100644 (file)
@@ -18,7 +18,9 @@
 
 ULONG
 STDCALL
-RtlCompareMemory(PVOID Source1, PVOID Source2, ULONG Length)
+RtlCompareMemory(PVOID Source1,
+       PVOID Source2,
+       ULONG Length)
 /*
  * FUNCTION: Compares blocks of memory and returns the number of equal bytes
  * ARGUMENTS:
@@ -95,11 +97,7 @@ RtlFillMemory (
        UCHAR   Fill
        )
 {
-       memset (
-               Destination,
-               Fill,
-               Length
-               );
+       memset(Destination, Fill, Length);
 }
 
 VOID
@@ -124,31 +122,31 @@ RtlFillMemoryUlong (
 
 VOID
 STDCALL
-RtlZeroMemory (
-       PVOID   Destination,
-       ULONG   Length
+RtlMoveMemory (
+       PVOID           Destination,
+       CONST VOID      * Source,
+       ULONG           Length
        )
 {
-       RtlFillMemory (
+       memmove (
                Destination,
-               Length,
-               0
+               Source,
+               Length
                );
 }
 
 
 VOID
 STDCALL
-RtlMoveMemory (
-       PVOID           Destination,
-       CONST VOID      * Source,
-       ULONG           Length
+RtlZeroMemory (
+       PVOID   Destination,
+       ULONG   Length
        )
 {
-       memmove (
+       RtlFillMemory (
                Destination,
-               Source,
-               Length
+               Length,
+               0
                );
 }