Author: pschweitzer
Date: Sat Jul 9 16:41:18 2016
New Revision: 71871
URL:
http://svn.reactos.org/svn/reactos?rev=71871&view=rev
Log:
[FLTMGR]
Fix GCC build
Modified:
trunk/reactos/drivers/filters/CMakeLists.txt
trunk/reactos/drivers/filters/fltmgr/Object.c
trunk/reactos/drivers/filters/fltmgr/Registration.c
Modified: trunk/reactos/drivers/filters/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filters/CMakeLists…
==============================================================================
--- trunk/reactos/drivers/filters/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/drivers/filters/CMakeLists.txt [iso-8859-1] Sat Jul 9 16:41:18 2016
@@ -1,2 +1,2 @@
-
+add_subdirectory(fltmgr)
add_subdirectory(mountmgr)
Modified: trunk/reactos/drivers/filters/fltmgr/Object.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filters/fltmgr/Obj…
==============================================================================
--- trunk/reactos/drivers/filters/fltmgr/Object.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filters/fltmgr/Object.c [iso-8859-1] Sat Jul 9 16:41:18 2016
@@ -25,10 +25,10 @@
NTSTATUS
-NTAPI
-FltObjectReference(_Inout_ PFLT_OBJECT Object)
+FLTAPI
+FltObjectReference(_Inout_ PVOID Object)
{
- if (!FltpExAcquireRundownProtection(&Object->RundownRef))
+ if (!FltpExAcquireRundownProtection(&((PFLT_OBJECT)Object)->RundownRef))
{
return STATUS_FLT_DELETING_OBJECT;
}
@@ -37,10 +37,10 @@
}
VOID
-NTAPI
-FltObjectDereference(_Inout_ PFLT_OBJECT Object)
+FLTAPI
+FltObjectDereference(_Inout_ PVOID Object)
{
- FltpExReleaseRundownProtection(&Object->RundownRef);
+ FltpExReleaseRundownProtection(&((PFLT_OBJECT)Object)->RundownRef);
}
Modified: trunk/reactos/drivers/filters/fltmgr/Registration.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filters/fltmgr/Reg…
==============================================================================
--- trunk/reactos/drivers/filters/fltmgr/Registration.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/filters/fltmgr/Registration.c [iso-8859-1] Sat Jul 9 16:41:18
2016
@@ -205,6 +205,7 @@
Instance = CONTAINING_RECORD(CurrentEntry, FLT_INSTANCE, FilterLink);
// FIXME: implement
+ (void)Instance;
/* Reset the pointer and move to next entry */
Instance = NULL;