summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/StorageKit/AHCI.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-26 10:08:33 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-26 10:08:33 +0100
commit9e746d42d2e3faa526f12ba222f5ee6924dd30f9 (patch)
tree7f1a83f69562a2725bb9cda27c31d120640d2c1c /src/kernel/StorageKit/AHCI.h
parent731758b271233b9c11052001ffc20a5a2ca1f365 (diff)
feat! breaking API changes, use header guards and libSystem fixes.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/StorageKit/AHCI.h')
-rw-r--r--src/kernel/StorageKit/AHCI.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/kernel/StorageKit/AHCI.h b/src/kernel/StorageKit/AHCI.h
index d29cb0fc..fa74a0f4 100644
--- a/src/kernel/StorageKit/AHCI.h
+++ b/src/kernel/StorageKit/AHCI.h
@@ -4,7 +4,8 @@
======================================== */
-#pragma once
+#ifndef STORAGEKIT_AHCI_H
+#define STORAGEKIT_AHCI_H
#include <KernelKit/DeviceMgr.h>
#include <KernelKit/DriveMgr.h>
@@ -45,3 +46,5 @@ class AHCIDeviceInterface NE_DEVICE<IMountpoint*> {
UInt16 sk_init_ahci_device(BOOL atapi);
ErrorOr<AHCIDeviceInterface> sk_acquire_ahci_device(UInt32 drv_index);
} // namespace Kernel
+
+#endif