summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/CFKit/Utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'dev/kernel/CFKit/Utils.h')
-rw-r--r--dev/kernel/CFKit/Utils.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/dev/kernel/CFKit/Utils.h b/dev/kernel/CFKit/Utils.h
index 97b0ee53..247ad5fb 100644
--- a/dev/kernel/CFKit/Utils.h
+++ b/dev/kernel/CFKit/Utils.h
@@ -5,9 +5,7 @@
#include <KernelKit/PE.h>
/// @brief CFKit
-namespace CF {
-using namespace Kernel;
-
+namespace Kernel::CF {
/// @brief Finds the PE header inside the blob.
inline auto ldr_find_exec_header(DosHeaderPtr ptrDos) -> LDR_EXEC_HEADER_PTR {
if (!ptrDos) return nullptr;
@@ -45,6 +43,6 @@ inline auto ldr_find_exec_header(const Char* ptrDos) -> LDR_EXEC_HEADER_PTR {
inline auto ldr_find_opt_exec_header(const Char* ptrDos) -> LDR_OPTIONAL_HEADER_PTR {
return ldr_find_opt_exec_header((DosHeaderPtr) ptrDos);
}
-} // namespace CF
+} // namespace Kernel::CF
#endif // ifndef CFKIT_UTILS_H