summaryrefslogtreecommitdiffhomepage
path: root/dev/user
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-04-11 17:51:19 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-04-11 17:51:19 +0200
commitc3856eddb5a8146751dac82ad1ba4433f5ca6d6d (patch)
treea74bdf6f87d07a24496effbc157f74d379d25007 /dev/user
parent9da6a352ecf70a1f5be99058a880b20db1b57940 (diff)
tweak kernel, boot: use -Wall, -Werror, -Wpedantic now.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/user')
-rw-r--r--dev/user/SystemCalls.h6
1 files changed, 3 insertions, 3 deletions
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);