summaryrefslogtreecommitdiffhomepage
path: root/dev/libDDK/src/ddk_dev.c
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-21 01:37:12 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-21 01:37:12 +0100
commitc464e5800961c809c73d4180f8a66885b53c63d7 (patch)
tree3db42241d514cf0e85b3ae6a3a1b17fa7ccf0f3b /dev/libDDK/src/ddk_dev.c
parentf8b1d8bc7e7738a4c3e55b5492106f06ab4cb971 (diff)
meta: Codebase improvements on NeKernel.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/libDDK/src/ddk_dev.c')
-rw-r--r--dev/libDDK/src/ddk_dev.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev/libDDK/src/ddk_dev.c b/dev/libDDK/src/ddk_dev.c
index c0396eb5..64ecefb6 100644
--- a/dev/libDDK/src/ddk_dev.c
+++ b/dev/libDDK/src/ddk_dev.c
@@ -1,10 +1,10 @@
-/* -------------------------------------------
+/* ========================================
Copyright Amlal El Mahrouss.
Purpose: DDK Text I/O.
-------------------------------------------- */
+======================================== */
#include <DriverKit/dev.h>
#include <DriverKit/str.h>
@@ -13,7 +13,8 @@
DDK_EXTERN DDK_DEVICE_PTR kopen_dev(const char* devicePath) {
if (nil == devicePath) return nil;
- return (DDK_DEVICE_PTR)ke_call_dispatch("dk_open_dev", 1, (void*) devicePath, kstrlen(devicePath));
+ return (DDK_DEVICE_PTR) ke_call_dispatch("dk_open_dev", 1, (void*) devicePath,
+ kstrlen(devicePath));
}
/// @brief Close any device.