mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
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:
parent
16428e4d4c
commit
cac72259d0
Notes:
sideshowbarker
2024-07-17 08:35:21 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/cac72259d0 Pull-request: https://github.com/SerenityOS/serenity/pull/15173 Reviewed-by: https://github.com/linusg
2 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
|||
#include <Kernel/CMOS.h>
|
||||
#include <Kernel/RTC.h>
|
||||
|
||||
namespace RTC {
|
||||
namespace Kernel::RTC {
|
||||
|
||||
static time_t s_boot_time;
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include <Kernel/UnixTypes.h>
|
||||
|
||||
namespace RTC {
|
||||
namespace Kernel::RTC {
|
||||
|
||||
void initialize();
|
||||
time_t now();
|
||||
|
|
Loading…
Reference in a new issue