mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[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]'
This commit is contained in:
parent
f26fa55891
commit
9611e88624
1 changed files with 18 additions and 0 deletions
|
@ -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 (
|
||||
|
|
Loading…
Reference in a new issue