From ceabd82ac8e796249feacf39c836034ed5e11c6d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 29 Nov 2025 15:01:34 -0500 Subject: chore: source code review and fixes. Signed-off-by: Amlal El Mahrouss --- src/kernel/KernelKit/DriveMgr.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/kernel/KernelKit/DriveMgr.h') diff --git a/src/kernel/KernelKit/DriveMgr.h b/src/kernel/KernelKit/DriveMgr.h index daf93b89..9f66e31c 100644 --- a/src/kernel/KernelKit/DriveMgr.h +++ b/src/kernel/KernelKit/DriveMgr.h @@ -74,7 +74,7 @@ struct DriveTrait final { Void (*fOutput)(DrivePacket& packet){nullptr}; Void (*fVerify)(DrivePacket& packet){nullptr}; Void (*fInit)(DrivePacket& packet){nullptr}; - const Char* (*fProtocol)(Void){nullptr}; + const Char* (*fProtocol)(Void) {nullptr}; }; namespace Probe { @@ -143,7 +143,7 @@ class IMountpoint final { /// @brief Unimplemented drive. /// @param pckt the packet to read. /// @return -Void io_drv_unimplemented(DriveTrait::DrivePacket* pckt) noexcept; +Void io_drv_unimplemented(DriveTrait::DrivePacket* pckt); /// @brief Gets the drive kind (ATA, SCSI, AHCI...) /// @param void none. @@ -152,16 +152,16 @@ const Char* io_drv_kind(Void); /// @brief Makes a new drive. /// @return the new drive as a trait. -DriveTrait io_construct_blank_drive(Void) noexcept; +DriveTrait io_construct_blank_drive(Void); /// @brief Fetches the main drive. /// @param trait the new drive as a trait. -Void io_construct_main_drive(DriveTrait& trait) noexcept; +Void io_construct_main_drive(DriveTrait& trait); /// @brief Fetches the main drive. /// @return the new drive as a trait. /// @deprecated use io_construct_main_drive(DriveTrait& trait) instead. -DriveTrait io_construct_main_drive(Void) noexcept; +DriveTrait io_construct_main_drive(Void); namespace Detect { Void io_detect_drive(DriveTrait& trait); -- cgit v1.2.3