From db34250b03344ee8940b0257ba1956266bf637ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Mon, 30 Nov 2020 14:15:37 +0100 Subject: [PATCH] [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 (