From 0b60d2a119b59877311309585fadd7574ec9ff58 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sat, 13 Sep 2025 15:25:56 +0900 Subject: [PATCH] Windows: remove wrong static declaration of functions in Ntvol.h --- src/Driver/Ntvol.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Driver/Ntvol.h b/src/Driver/Ntvol.h index 0dbb5556..0672c58c 100644 --- a/src/Driver/Ntvol.h +++ b/src/Driver/Ntvol.h @@ -16,7 +16,7 @@ extern volatile BOOL ProbingHostDeviceForWrite; NTSTATUS TCOpenVolume ( PDEVICE_OBJECT DeviceObject , PEXTENSION Extension , MOUNT_STRUCT *mount , PWSTR pwszMountVolume , BOOL bRawDevice ); void TCCloseVolume ( PDEVICE_OBJECT DeviceObject , PEXTENSION Extension ); NTSTATUS TCCompletion ( PDEVICE_OBJECT DeviceObject , PIRP Irp , PVOID pUserBuffer ); -static NTSTATUS TCSendHostDeviceIoControlRequest ( PDEVICE_OBJECT DeviceObject , PEXTENSION Extension , ULONG IoControlCode , void *OutputBuffer , ULONG OutputBufferSize ); -static NTSTATUS TCSendHostDeviceIoControlRequestEx ( PDEVICE_OBJECT DeviceObject , PEXTENSION Extension , ULONG IoControlCode , void *InputBuffer , ULONG InputBufferSize , void *OutputBuffer , ULONG OutputBufferSize ); +NTSTATUS TCSendHostDeviceIoControlRequest ( PDEVICE_OBJECT DeviceObject , PEXTENSION Extension , ULONG IoControlCode , void *OutputBuffer , ULONG OutputBufferSize ); +NTSTATUS TCSendHostDeviceIoControlRequestEx ( PDEVICE_OBJECT DeviceObject , PEXTENSION Extension , ULONG IoControlCode , void *InputBuffer , ULONG InputBufferSize , void *OutputBuffer , ULONG OutputBufferSize ); NTSTATUS COMPLETE_IRP ( PDEVICE_OBJECT DeviceObject , PIRP Irp , NTSTATUS IrpStatus , ULONG_PTR IrpInformation ); static void RestoreTimeStamp ( PEXTENSION Extension );