diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-29 15:01:34 -0500 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-29 15:01:34 -0500 |
| commit | ceabd82ac8e796249feacf39c836034ed5e11c6d (patch) | |
| tree | e446d471a0eaf4ed7ac67e878ce4fb02334a2acb /src/kernel/KernelKit/DriveMgr.h | |
| parent | 0376382a848ef5ebbb0e02428c9d1df8a099d8b4 (diff) | |
chore: source code review and fixes.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/KernelKit/DriveMgr.h')
| -rw-r--r-- | src/kernel/KernelKit/DriveMgr.h | 10 |
1 files changed, 5 insertions, 5 deletions
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); |
