From c3856eddb5a8146751dac82ad1ba4433f5ca6d6d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 11 Apr 2025 17:51:19 +0200 Subject: tweak kernel, boot: use -Wall, -Werror, -Wpedantic now. Signed-off-by: Amlal El Mahrouss --- dev/user/SystemCalls.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dev/user') diff --git a/dev/user/SystemCalls.h b/dev/user/SystemCalls.h index 5288e7b4..97a49469 100644 --- a/dev/user/SystemCalls.h +++ b/dev/user/SystemCalls.h @@ -215,7 +215,7 @@ IMPORT_C Char* DrvGetDriveLetterFromPath(_Input const Char* path); /// @param letter the letter (A..Z). /// @return the drive object. // ------------------------------------------------------------------------------------------ // -IMPORT_C Ref DrvGetMountedDrive(_Input const Char letter); +IMPORT_C Ref DrvGetMountedDrive(_Input Char letter); // ------------------------------------------------------------------------------------------ // /// @brief Mount a drive. @@ -228,7 +228,7 @@ IMPORT_C Void DrvMountDrive(_Input const Char* path, _Input const Char* letter); /// @brief Unmount a drive. /// @param letter the letter to unmount. // ------------------------------------------------------------------------------------------ // -IMPORT_C Void DrvUnmountDrive(_Input const Char letter); +IMPORT_C Void DrvUnmountDrive(_Input Char letter); // ------------------------------------------------------------------------ // Event handling API, use to listen to OS specific events. @@ -283,7 +283,7 @@ IMPORT_C SInt32 PwrSendCode(_Output SInt32& code); // CD-ROM API. // ------------------------------------------------------------------------------------------ // -IMPORT_C SInt32 CdEjectDrive(_Input const Char drv_letter); +IMPORT_C SInt32 CdEjectDrive(_Input Char drv_letter); IMPORT_C SInt32 CdOpenTray(Void); -- cgit v1.2.3