mirror of
https://github.com/reactos/reactos.git
synced 2025-06-10 04:14:53 +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 );
|
ExFreePool( Fcb );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
static
|
||||||
|
#endif
|
||||||
INLINE
|
INLINE
|
||||||
PNON_PAGED_FCB
|
PNON_PAGED_FCB
|
||||||
FatAllocateNonPagedFcb (
|
FatAllocateNonPagedFcb (
|
||||||
|
@ -101,6 +104,9 @@ FatAllocateNonPagedFcb (
|
||||||
return (PNON_PAGED_FCB) ExAllocateFromNPagedLookasideList( &FatNonPagedFcbLookasideList );
|
return (PNON_PAGED_FCB) ExAllocateFromNPagedLookasideList( &FatNonPagedFcbLookasideList );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
static
|
||||||
|
#endif
|
||||||
INLINE
|
INLINE
|
||||||
VOID
|
VOID
|
||||||
FatFreeNonPagedFcb (
|
FatFreeNonPagedFcb (
|
||||||
|
@ -114,6 +120,9 @@ FatFreeNonPagedFcb (
|
||||||
ExFreeToNPagedLookasideList( &FatNonPagedFcbLookasideList, (PVOID) NonPagedFcb );
|
ExFreeToNPagedLookasideList( &FatNonPagedFcbLookasideList, (PVOID) NonPagedFcb );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
static
|
||||||
|
#endif
|
||||||
INLINE
|
INLINE
|
||||||
PERESOURCE
|
PERESOURCE
|
||||||
FatAllocateResource (
|
FatAllocateResource (
|
||||||
|
@ -128,6 +137,9 @@ FatAllocateResource (
|
||||||
return Resource;
|
return Resource;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
static
|
||||||
|
#endif
|
||||||
INLINE
|
INLINE
|
||||||
VOID
|
VOID
|
||||||
FatFreeResource (
|
FatFreeResource (
|
||||||
|
@ -143,6 +155,9 @@ FatFreeResource (
|
||||||
ExFreeToNPagedLookasideList( &FatEResourceLookasideList, (PVOID) Resource );
|
ExFreeToNPagedLookasideList( &FatEResourceLookasideList, (PVOID) Resource );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
static
|
||||||
|
#endif
|
||||||
INLINE
|
INLINE
|
||||||
PIRP_CONTEXT
|
PIRP_CONTEXT
|
||||||
FatAllocateIrpContext (
|
FatAllocateIrpContext (
|
||||||
|
@ -151,6 +166,9 @@ FatAllocateIrpContext (
|
||||||
return (PIRP_CONTEXT) ExAllocateFromNPagedLookasideList( &FatIrpContextLookasideList );
|
return (PIRP_CONTEXT) ExAllocateFromNPagedLookasideList( &FatIrpContextLookasideList );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __REACTOS__
|
||||||
|
static
|
||||||
|
#endif
|
||||||
INLINE
|
INLINE
|
||||||
VOID
|
VOID
|
||||||
FatFreeIrpContext (
|
FatFreeIrpContext (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue