[CDFS_NEW] Force calling convention to allow build

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

View file

@ -51,6 +51,7 @@ CdPnpCancelRemove (
); );
NTSTATUS NTSTATUS
NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
CdPnpCompletionRoutine ( CdPnpCompletionRoutine (
IN PDEVICE_OBJECT DeviceObject, IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp, IN PIRP Irp,
@ -774,6 +775,7 @@ Return Value:
// //
NTSTATUS NTSTATUS
NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
CdPnpCompletionRoutine ( CdPnpCompletionRoutine (
IN PDEVICE_OBJECT DeviceObject, IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp, IN PIRP Irp,

View file

@ -973,6 +973,26 @@ Index: drivers/filesystems/cdfs_new/fsctrl.c
VOLUME_ID_LENGTH, VOLUME_ID_LENGTH,
(PCHAR) Vcb->Vpb->VolumeLabel ); (PCHAR) Vcb->Vpb->VolumeLabel );
Index: drivers/filesystems/cdfs_new/pnp.c
===================================================================
--- drivers/filesystems/cdfs_new/pnp.c (revision 34615)
+++ drivers/filesystems/cdfs_new/pnp.c (working copy)
@@ -51,6 +51,7 @@
);
NTSTATUS
+NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
CdPnpCompletionRoutine (
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp,
@@ -774,6 +775,7 @@
//
NTSTATUS
+NTAPI /* ReactOS Change: GCC Does not support STDCALL by default */
CdPnpCompletionRoutine (
IN PDEVICE_OBJECT DeviceObject,
IN PIRP Irp,
Index: drivers/filesystems/cdfs_new/workque.c Index: drivers/filesystems/cdfs_new/workque.c
=================================================================== ===================================================================
--- drivers/filesystems/cdfs_new/workque.c (revision 34615) --- drivers/filesystems/cdfs_new/workque.c (revision 34615)