[CDFS_NEW] Force calling convention to allow build

This commit is contained in:
Pierre Schweitzer 2017-11-06 19:52:43 +01:00
parent 3d4b8783fd
commit 7b19676e2b
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
2 changed files with 22 additions and 0 deletions

View file

@ -27,6 +27,7 @@ Abstract:
// //
NTSTATUS NTSTATUS
NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
CdDevCtrlCompletionRoutine ( CdDevCtrlCompletionRoutine (
IN PDEVICE_OBJECT DeviceObject, IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp, IN PIRP Irp,
@ -171,6 +172,7 @@ Return Value:
// //
NTSTATUS NTSTATUS
NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
CdDevCtrlCompletionRoutine ( CdDevCtrlCompletionRoutine (
IN PDEVICE_OBJECT DeviceObject, IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp, IN PIRP Irp,

View file

@ -844,6 +844,26 @@ Index: drivers/filesystems/cdfs_new/cleanup.c
// //
// If appropriate, try to spark teardown by purging the volume. Should // If appropriate, try to spark teardown by purging the volume. Should
Index: drivers/filesystems/cdfs_new/devctrl.c
===================================================================
--- drivers/filesystems/cdfs_new/devctrl.c (revision 34615)
+++ drivers/filesystems/cdfs_new/devctrl.c (working copy)
@@ -27,6 +27,7 @@
//
NTSTATUS
+NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
CdDevCtrlCompletionRoutine (
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp,
@@ -171,6 +172,7 @@
//
NTSTATUS
+NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
CdDevCtrlCompletionRoutine (
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp,
Index: drivers/filesystems/cdfs_new/strucsup.c Index: drivers/filesystems/cdfs_new/strucsup.c
=================================================================== ===================================================================
--- drivers/filesystems/cdfs_new/strucsup.c (revision 34615) --- drivers/filesystems/cdfs_new/strucsup.c (revision 34615)