https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9611e88624ccfda1f34b8…
commit 9611e88624ccfda1f34b82893b61144bb0373600
Author: Serge Gautherie <reactos-git_serge_171003(a)gautherie.fr>
AuthorDate: Tue Jun 9 02:52:17 2020 +0200
Commit: Victor Perevertkin <victor(a)perevertkin.ru>
CommitDate: Sun Jun 21 09:27:44 2020 +0300
[FASTFAT_NEW] Fix GCC 8.4 build
'.../strucsup.c:...:...: error: 'Ex*NPagedLookasideList' is static but
used in inline function 'Fat*' which is not static [-Werror]'
---
drivers/filesystems/fastfat_new/strucsup.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/drivers/filesystems/fastfat_new/strucsup.c
b/drivers/filesystems/fastfat_new/strucsup.c
index c540f37d0f2..38cad350c05 100644
--- a/drivers/filesystems/fastfat_new/strucsup.c
+++ b/drivers/filesystems/fastfat_new/strucsup.c
@@ -93,6 +93,9 @@ FatFreeFcb (
ExFreePool( Fcb );
}
+#ifdef __REACTOS__
+static
+#endif
INLINE
PNON_PAGED_FCB
FatAllocateNonPagedFcb (
@@ -101,6 +104,9 @@ FatAllocateNonPagedFcb (
return (PNON_PAGED_FCB) ExAllocateFromNPagedLookasideList(
&FatNonPagedFcbLookasideList );
}
+#ifdef __REACTOS__
+static
+#endif
INLINE
VOID
FatFreeNonPagedFcb (
@@ -114,6 +120,9 @@ FatFreeNonPagedFcb (
ExFreeToNPagedLookasideList( &FatNonPagedFcbLookasideList, (PVOID) NonPagedFcb
);
}
+#ifdef __REACTOS__
+static
+#endif
INLINE
PERESOURCE
FatAllocateResource (
@@ -128,6 +137,9 @@ FatAllocateResource (
return Resource;
}
+#ifdef __REACTOS__
+static
+#endif
INLINE
VOID
FatFreeResource (
@@ -143,6 +155,9 @@ FatFreeResource (
ExFreeToNPagedLookasideList( &FatEResourceLookasideList, (PVOID) Resource );
}
+#ifdef __REACTOS__
+static
+#endif
INLINE
PIRP_CONTEXT
FatAllocateIrpContext (
@@ -151,6 +166,9 @@ FatAllocateIrpContext (
return (PIRP_CONTEXT) ExAllocateFromNPagedLookasideList(
&FatIrpContextLookasideList );
}
+#ifdef __REACTOS__
+static
+#endif
INLINE
VOID
FatFreeIrpContext (