diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-26 10:10:06 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-12-26 10:10:06 +0100 |
| commit | d532b43153cb68d6e92c5dac58cbd3c8ab4f60af (patch) | |
| tree | e748d39deee4e4c0983354ccf3fa419263368f87 /include/DebuggerKit | |
| parent | ba1b968d17a1ed29694f850af58787c3eb2657d4 (diff) | |
feat! Use header guards instead of pragma once.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/DebuggerKit')
| -rw-r--r-- | include/DebuggerKit/DebuggerContract.h | 5 | ||||
| -rw-r--r-- | include/DebuggerKit/Detail/Config.h | 5 | ||||
| -rw-r--r-- | include/DebuggerKit/POSIXMachContract.h | 7 |
3 files changed, 13 insertions, 4 deletions
diff --git a/include/DebuggerKit/DebuggerContract.h b/include/DebuggerKit/DebuggerContract.h index 4f02b90..1d8c3bc 100644 --- a/include/DebuggerKit/DebuggerContract.h +++ b/include/DebuggerKit/DebuggerContract.h @@ -4,7 +4,8 @@ ======================================== */ -#pragma once +#ifndef NECTAR_DEBUGGERKIT_DEBUGGERCONTRACT_H +#define NECTAR_DEBUGGERKIT_DEBUGGERCONTRACT_H #include <DebuggerKit/Detail/Config.h> #include <unordered_map> @@ -44,3 +45,5 @@ class IDebuggerContract { }; } // namespace DebuggerKit +#endif // NECTAR_DEBUGGERKIT_DEBUGGERCONTRACT_H + diff --git a/include/DebuggerKit/Detail/Config.h b/include/DebuggerKit/Detail/Config.h index 4437e8a..87fbe22 100644 --- a/include/DebuggerKit/Detail/Config.h +++ b/include/DebuggerKit/Detail/Config.h @@ -4,7 +4,8 @@ ======================================== */ -#pragma once +#ifndef NECTAR_DEBUGGERKIT_DETAIL_CONFIG_H +#define NECTAR_DEBUGGERKIT_DETAIL_CONFIG_H /// =========================================================== /// /// @author Amlal El Mahrouss @@ -64,3 +65,5 @@ namespace Detail { using dk_socket_type = int64_t; } // namespace Detail } // namespace DebuggerKit + +#endif // NECTAR_DEBUGGERKIT_DETAIL_CONFIG_H diff --git a/include/DebuggerKit/POSIXMachContract.h b/include/DebuggerKit/POSIXMachContract.h index 438eae0..22b8958 100644 --- a/include/DebuggerKit/POSIXMachContract.h +++ b/include/DebuggerKit/POSIXMachContract.h @@ -4,7 +4,8 @@ ======================================== */ -#pragma once +#ifndef NECTAR_DEBUGGERKIT_POSIXMACHCONTRACT_H +#define NECTAR_DEBUGGERKIT_POSIXMACHCONTRACT_H #ifdef DK_MACH_DEBUGGER @@ -152,5 +153,7 @@ class POSIXMachContract final DK_DEBUGGER_CONTRACT { }; } // namespace DebuggerKit::POSIX -#endif +#endif // DK_MACH_DEBUGGER + +#endif // NECTAR_DEBUGGERKIT_POSIXMACHCONTRACT_H |
