[CLASSPNP][CDROM_NEW][DISK_NEW] Fix clang build

CORE-17129
This commit is contained in:
Victor Perevertkin 2020-12-05 20:52:13 +03:00
parent fe1b98fc36
commit 15a7b9dd2f
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
10 changed files with 59 additions and 57 deletions

View file

@ -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