+ntoskrnl/cc/copy.c
[reactos.git] / ntoskrnl / cc / copy.c
index 158c160..93bf41e 100644 (file)
 
 #define ROUND_DOWN(N, S) ((N) - ((N) % (S)))
 
+#ifndef LIBCAPTIVE
 static PHYSICAL_ADDRESS CcZeroPage = (PHYSICAL_ADDRESS)0LL;
+#endif /* LIBCAPTIVE */
 
 /* FUNCTIONS *****************************************************************/
 
+#ifndef LIBCAPTIVE
+
 VOID 
 CcInitCacheZeroPage(VOID)
 {
@@ -168,6 +172,8 @@ ReadCacheSegmentChain(PBCB Bcb, ULONG ReadOffset, ULONG Length,
   return(STATUS_SUCCESS);
 }
 
+#endif /* LIBCAPTIVE */
+
 NTSTATUS 
 ReadCacheSegment(PCACHE_SEGMENT CacheSeg)
 {
@@ -208,6 +214,8 @@ ReadCacheSegment(PCACHE_SEGMENT CacheSeg)
   return STATUS_SUCCESS;
 }
 
+#ifndef LIBCAPTIVE
+
 NTSTATUS 
 WriteCacheSegment(PCACHE_SEGMENT CacheSeg)
 {
@@ -669,3 +677,4 @@ CcZeroData (IN PFILE_OBJECT     FileObject,
   return(TRUE);
 }
 
+#endif /* LIBCAPTIVE */