https://git.reactos.org/?p=reactos.git;a=commitdiff;h=db34250b03344ee8940b0…
commit db34250b03344ee8940b0257ba1956266bf637ec
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Mon Nov 30 14:15:37 2020 +0100
Commit: Jérôme Gardou <jerome.gardou(a)reactos.org>
CommitDate: Tue Dec 22 11:07:54 2020 +0100
[FASTFAT_NEW] Fix build
---
drivers/filesystems/fastfat_new/allocsup.c | 6 ++++--
drivers/filesystems/fastfat_new/fatinit.c | 4 ----
drivers/filesystems/fastfat_new/strucsup.c | 12 ++++++++++++
3 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/drivers/filesystems/fastfat_new/allocsup.c
b/drivers/filesystems/fastfat_new/allocsup.c
index 4f7f8b20a43..38c06bea2ac 100644
--- a/drivers/filesystems/fastfat_new/allocsup.c
+++ b/drivers/filesystems/fastfat_new/allocsup.c
@@ -271,10 +271,12 @@ FatLogOf(
#pragma alloc_text(PAGE, FatTruncateFileAllocation)
#endif
-
+#ifdef __REACTOS__
+static
+#endif
INLINE
ULONG
-FatSelectBestWindow(
+FatSelectBestWindow(
IN PVCB Vcb
)
/*++
diff --git a/drivers/filesystems/fastfat_new/fatinit.c
b/drivers/filesystems/fastfat_new/fatinit.c
index 09df201769f..1da067f72f3 100644
--- a/drivers/filesystems/fastfat_new/fatinit.c
+++ b/drivers/filesystems/fastfat_new/fatinit.c
@@ -15,10 +15,6 @@ Abstract:
#include "fatprocs.h"
-#ifdef __REACTOS__
-#define _Unreferenced_parameter_
-#endif
-
DRIVER_INITIALIZE DriverEntry;
NTSTATUS
diff --git a/drivers/filesystems/fastfat_new/strucsup.c
b/drivers/filesystems/fastfat_new/strucsup.c
index 4513be8dcb4..1efb143706d 100644
--- a/drivers/filesystems/fastfat_new/strucsup.c
+++ b/drivers/filesystems/fastfat_new/strucsup.c
@@ -51,6 +51,9 @@ Abstract:
#define FAT_FILL_FREE 0
+#ifdef __REACTOS__
+static
+#endif
INLINE
PCCB
FatAllocateCcb (
@@ -59,6 +62,9 @@ FatAllocateCcb (
return (PCCB) FsRtlAllocatePoolWithTag( PagedPool, sizeof(CCB), TAG_CCB );
}
+#ifdef __REACTOS__
+static
+#endif
INLINE
VOID
FatFreeCcb (
@@ -72,6 +78,9 @@ FatFreeCcb (
ExFreePool( Ccb );
}
+#ifdef __REACTOS__
+static
+#endif
INLINE
PFCB
FatAllocateFcb (
@@ -80,6 +89,9 @@ FatAllocateFcb (
return (PFCB) FsRtlAllocatePoolWithTag( PagedPool, sizeof(FCB), TAG_FCB );
}
+#ifdef __REACTOS__
+static
+#endif
INLINE
VOID
FatFreeFcb (