[REISERFS] Fix MSVC compilation with '_VS_ANALYZE_' (#3013)

'...\write.c(38): error C2373: 'RfsdFloppyFlush': redefinition; different type modifiers'
'...\write.c(45): error C2373: 'RfsdFloppyFlushDpc': redefinition; different type modifiers'
This commit is contained in:
Serge Gautherie 2020-08-18 13:20:30 +02:00 committed by GitHub
parent 78e3407c1d
commit 6b8f3967ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,19 +34,35 @@ typedef struct _RFSD_FLPFLUSH_CONTEXT {
WORKER_THREAD_ROUTINE RfsdFloppyFlush;
#endif // _PREFAST_
#ifndef __REACTOS__
VOID
RfsdFloppyFlush(IN PVOID Parameter);
#else
VOID
NTAPI
RfsdFloppyFlush(_In_ PVOID Parameter);
#endif
#ifdef _PREFAST_
KDEFERRED_ROUTINE RfsdFloppyFlushDpc;
#endif // _PREFAST_
#ifndef __REACTOS__
VOID
RfsdFloppyFlushDpc (
IN PKDPC Dpc,
IN PVOID DeferredContext,
IN PVOID SystemArgument1,
IN PVOID SystemArgument2);
#else
VOID
NTAPI
RfsdFloppyFlushDpc (
_In_ PKDPC Dpc,
_In_opt_ PVOID DeferredContext,
_In_opt_ PVOID SystemArgument1,
_In_opt_ PVOID SystemArgument2);
#endif
NTSTATUS
RfsdWriteComplete (IN PRFSD_IRP_CONTEXT IrpContext);