summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/KernelKit/PCI/Database.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/KernelKit/PCI/Database.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/KernelKit/PCI/Database.h')
-rw-r--r--src/kernel/KernelKit/PCI/Database.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/kernel/KernelKit/PCI/Database.h b/src/kernel/KernelKit/PCI/Database.h
index 35740fdc..adde60b6 100644
--- a/src/kernel/KernelKit/PCI/Database.h
+++ b/src/kernel/KernelKit/PCI/Database.h
@@ -3,7 +3,8 @@
Copyright (C) 2024-2025, Amlal El Mahrouss, licensed under the Apache 2.0 license.
======================================== */
-#pragma once
+#ifndef KERNELKIT_DATABASE_H
+#define KERNELKIT_DATABASE_H
#include <KernelKit/PCI/Device.h>
#include <NeKit/Config.h>
@@ -48,4 +49,6 @@ inline BOOL operator!=(Kernel::UChar lhs, const Kernel::Types::PciDeviceKind& rh
inline BOOL operator==(Kernel::UChar lhs, const Kernel::Types::PciDeviceKind& rhs) {
return lhs == (Kernel::UChar) rhs;
-} \ No newline at end of file
+}
+
+#endif