mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 15:53:03 +00:00
[CLASSPNP][CDROM_NEW][DISK_NEW] Fix clang build
CORE-17129
This commit is contained in:
parent
fe1b98fc36
commit
15a7b9dd2f
10 changed files with 59 additions and 57 deletions
|
@ -267,7 +267,7 @@ GUID DiskPredictFailureEventGuid = WMI_STORAGE_PREDICT_FAILURE_EVENT_GUID;
|
|||
//
|
||||
// Enable SMART
|
||||
//
|
||||
_inline NTSTATUS
|
||||
static NTSTATUS
|
||||
DiskEnableSmart(
|
||||
PFUNCTIONAL_DEVICE_EXTENSION FdoExtension
|
||||
)
|
||||
|
@ -289,7 +289,7 @@ DiskEnableSmart(
|
|||
//
|
||||
// Disable SMART
|
||||
//
|
||||
_inline NTSTATUS
|
||||
static NTSTATUS
|
||||
DiskDisableSmart(
|
||||
PFUNCTIONAL_DEVICE_EXTENSION FdoExtension
|
||||
)
|
||||
|
@ -307,7 +307,7 @@ DiskDisableSmart(
|
|||
&bufferSize);
|
||||
}
|
||||
|
||||
|
||||
#ifndef __REACTOS__ // functions are not used
|
||||
//
|
||||
// Enable Attribute Autosave
|
||||
//
|
||||
|
@ -350,12 +350,12 @@ DiskDisableSmartAttributeAutosave(
|
|||
(PSRB_IO_CONTROL)srbControl,
|
||||
&bufferSize);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
//
|
||||
// Initialize execution of SMART online diagnostics
|
||||
//
|
||||
_inline NTSTATUS
|
||||
static NTSTATUS
|
||||
DiskExecuteSmartDiagnostics(
|
||||
PFUNCTIONAL_DEVICE_EXTENSION FdoExtension,
|
||||
UCHAR Subcommand
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue