summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/KernelKit/Semaphore.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-10 22:38:24 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-10 22:38:24 +0100
commit076c8378e96a9fac9864c9d02bb63fa7dd423e4a (patch)
treef48cd96b3dd3026ab69bf78f9d7c599cd40cd0f8 /src/kernel/KernelKit/Semaphore.h
parent8ea5c74d86db0b24326362d53a935cfbba455260 (diff)
chore: using more header guards than pragma once.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/KernelKit/Semaphore.h')
-rw-r--r--src/kernel/KernelKit/Semaphore.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/kernel/KernelKit/Semaphore.h b/src/kernel/KernelKit/Semaphore.h
index e10c1c2e..ecfdb6a9 100644
--- a/src/kernel/KernelKit/Semaphore.h
+++ b/src/kernel/KernelKit/Semaphore.h
@@ -4,7 +4,8 @@
======================================== */
-#pragma once
+#ifndef __KERNEL_KIT_TLS_H__
+#define __KERNEL_KIT_TLS_H__
/// @author Amlal El Mahrouss
/// @file Semaphore.h
@@ -107,4 +108,6 @@ inline BOOL rtl_sem_wait(SemaphoreArr& sem, UInt64 owner, UInt64 timeout,
return FALSE; // Failed to acquire semaphore
}
-} // namespace Kernel \ No newline at end of file
+} // namespace Kernel
+
+#endif // !__KERNEL_KIT_TLS_H__ \ No newline at end of file