forget update de.rc
[reactos.git] / reactos / ntoskrnl / cc / cacheman.c
index 4be4fa6..a074913 100644 (file)
@@ -1,41 +1,23 @@
-/*
- *  ReactOS kernel
- *  Copyright (C) 2000  ReactOS Team
- *
- *  This program is free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
+/* $Id$
  *
- *  This program is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  You should have received a copy of the GNU General Public License
- *  along with this program; if not, write to the Free Software
- *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- */
-/*
+ * COPYRIGHT:       See COPYING in the top level directory
  * PROJECT:         ReactOS kernel
  * FILE:            ntoskrnl/cc/cacheman.c
  * PURPOSE:         Cache manager
- * PROGRAMMER:      David Welch (welch@cwcom.net)
- * PORTABILITY:     Checked
- * UPDATE HISTORY:
- *                  Created 22/05/98
+ *
+ * PROGRAMMERS:     David Welch (welch@cwcom.net)
  */
 
 /* INCLUDES *****************************************************************/
 
-#include <ddk/ntddk.h>
-#include <internal/cc.h>
-
+#include <ntoskrnl.h>
+#define NDEBUG
 #include <internal/debug.h>
 
 /* FUNCTIONS *****************************************************************/
 
 VOID
+NTAPI
 CcInit(VOID)
 {
   CcInitView();
@@ -51,9 +33,10 @@ CcGetFlushedValidData (
     IN BOOLEAN BcbListHeld
     )
 {
+       LARGE_INTEGER i;
+
        UNIMPLEMENTED;
 
-       LARGE_INTEGER i; 
        i.QuadPart = 0;
        return i;
 }
@@ -61,25 +44,15 @@ CcGetFlushedValidData (
 /*
  * @unimplemented
  */
-VOID
-STDCALL
-CcRepinBcb (
-       IN      PVOID   Bcb
-       )
-{
-       UNIMPLEMENTED;
-}
-
-/*
- * @unimplemented
- */
-VOID
+PVOID
 STDCALL
 CcRemapBcb (
     IN PVOID Bcb
     )
 {
        UNIMPLEMENTED;
+
+    return 0;
 }
 
 /*
@@ -148,17 +121,3 @@ CcSetReadAheadGranularity (
 {
        UNIMPLEMENTED;
 }
-
-/*
- * @unimplemented
- */
-VOID
-STDCALL
-CcUnpinRepinnedBcb (
-       IN      PVOID                   Bcb,
-       IN      BOOLEAN                 WriteThrough,
-       IN      PIO_STATUS_BLOCK        IoStatus
-       )
-{
-       UNIMPLEMENTED;
-}