summaryrefslogtreecommitdiffhomepage
path: root/dev/libDDK/src/ddk_dev.c
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-20 19:40:30 -0500
committerGitHub <noreply@github.com>2025-11-20 19:40:30 -0500
commitc739255b48b3a5b2e184ca1a637f9f1f95c978ff (patch)
tree3db42241d514cf0e85b3ae6a3a1b17fa7ccf0f3b /dev/libDDK/src/ddk_dev.c
parent72dc7188a81052bfeb649eecb420e6b52e2c0c4b (diff)
parentc464e5800961c809c73d4180f8a66885b53c63d7 (diff)
Merge pull request #78 from nekernel-org/devv0.0.6
meta: Codebase improvements on NeKernel.
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.