From cac72259d00fecb9b638adab2c32fc2c5943e1da Mon Sep 17 00:00:00 2001 From: Liav A Date: Fri, 2 Sep 2022 11:22:06 +0300 Subject: [PATCH] Kernel: Put the RTC code in the Kernel namespace We only use the RTC code in the Kernel, so it doesn't make sense to make the RTC namespace outside of it. In addition to that, we will need later on to use the RTC in an x86 specific manner and this will help us to use this code in such fashion. --- Kernel/RTC.cpp | 2 +- Kernel/RTC.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/RTC.cpp b/Kernel/RTC.cpp index 4b753bbf009..7929869b387 100644 --- a/Kernel/RTC.cpp +++ b/Kernel/RTC.cpp @@ -9,7 +9,7 @@ #include #include -namespace RTC { +namespace Kernel::RTC { static time_t s_boot_time; diff --git a/Kernel/RTC.h b/Kernel/RTC.h index 0ec692006ff..c57ec79acb8 100644 --- a/Kernel/RTC.h +++ b/Kernel/RTC.h @@ -8,7 +8,7 @@ #include -namespace RTC { +namespace Kernel::RTC { void initialize(); time_t now();