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.
This commit is contained in:
Liav A 2022-09-02 11:22:06 +03:00 committed by Linus Groh
parent 16428e4d4c
commit cac72259d0
Notes: sideshowbarker 2024-07-17 08:35:21 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@
#include <Kernel/CMOS.h>
#include <Kernel/RTC.h>
namespace RTC {
namespace Kernel::RTC {
static time_t s_boot_time;

View file

@ -8,7 +8,7 @@
#include <Kernel/UnixTypes.h>
namespace RTC {
namespace Kernel::RTC {
void initialize();
time_t now();