https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6b8f3967ae39f8127e37eb2a963e66c1067009ec
commit 6b8f3967ae39f8127e37eb2a963e66c1067009ec Author: Serge Gautherie <[email protected]> AuthorDate: Tue Aug 18 13:20:30 2020 +0200 Commit: GitHub <[email protected]> CommitDate: Tue Aug 18 14:20:30 2020 +0300 [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' --- drivers/filesystems/reiserfs/src/write.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/drivers/filesystems/reiserfs/src/write.c b/drivers/filesystems/reiserfs/src/write.c index be04002bc7c..20975dd0eed 100644 --- a/drivers/filesystems/reiserfs/src/write.c +++ b/drivers/filesystems/reiserfs/src/write.c @@ -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);
