summaryrefslogtreecommitdiff
path: root/Kernel/Time
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2020-09-18 09:49:51 +0200
committerAndreas Kling <kling@serenityos.org>2020-09-25 21:18:17 +0200
commit64cc3f51d0a1d4ddc68fe9e3b5da2834eac48dae (patch)
tree8088b0dfe9a558a28137b2168414371a4fe891b6 /Kernel/Time
parentfa62c5595e98a8d93d7a6e54b4eab45d9095a2c9 (diff)
downloadserenity-64cc3f51d0a1d4ddc68fe9e3b5da2834eac48dae.zip
Meta+Kernel: Make clang-format-10 clean
Diffstat (limited to 'Kernel/Time')
-rw-r--r--Kernel/Time/PIT.cpp2
-rw-r--r--Kernel/Time/RTC.cpp2
-rw-r--r--Kernel/Time/RTC.h4
-rw-r--r--Kernel/Time/TimeManagement.cpp1
4 files changed, 4 insertions, 5 deletions
diff --git a/Kernel/Time/PIT.cpp b/Kernel/Time/PIT.cpp
index a105af6d46..3234a5cf53 100644
--- a/Kernel/Time/PIT.cpp
+++ b/Kernel/Time/PIT.cpp
@@ -25,12 +25,12 @@
*/
#include <Kernel/Arch/i386/CPU.h>
+#include <Kernel/IO.h>
#include <Kernel/Interrupts/PIC.h>
#include <Kernel/Scheduler.h>
#include <Kernel/Thread.h>
#include <Kernel/Time/PIT.h>
#include <Kernel/Time/TimeManagement.h>
-#include <Kernel/IO.h>
#define IRQ_TIMER 0
namespace Kernel {
diff --git a/Kernel/Time/RTC.cpp b/Kernel/Time/RTC.cpp
index 7a3f85c987..726c437a64 100644
--- a/Kernel/Time/RTC.cpp
+++ b/Kernel/Time/RTC.cpp
@@ -26,9 +26,9 @@
#include <Kernel/Arch/i386/CPU.h>
#include <Kernel/CMOS.h>
+#include <Kernel/IO.h>
#include <Kernel/Time/RTC.h>
#include <Kernel/Time/TimeManagement.h>
-#include <Kernel/IO.h>
namespace Kernel {
#define IRQ_TIMER 8
diff --git a/Kernel/Time/RTC.h b/Kernel/Time/RTC.h
index abdc7033ce..0e211eeb2f 100644
--- a/Kernel/Time/RTC.h
+++ b/Kernel/Time/RTC.h
@@ -40,8 +40,8 @@ public:
virtual bool is_periodic() const override { return true; }
virtual bool is_periodic_capable() const override { return true; }
- virtual void set_periodic() override {}
- virtual void set_non_periodic() override {}
+ virtual void set_periodic() override { }
+ virtual void set_non_periodic() override { }
virtual void reset_to_default_ticks_per_second() override;
virtual bool try_to_set_frequency(size_t frequency) override;
diff --git a/Kernel/Time/TimeManagement.cpp b/Kernel/Time/TimeManagement.cpp
index 69b0570c22..ab0ed2bd8c 100644
--- a/Kernel/Time/TimeManagement.cpp
+++ b/Kernel/Time/TimeManagement.cpp
@@ -73,7 +73,6 @@ void TimeManagement::initialize()
{
ASSERT(!s_the.is_initialized());
s_the.ensure_instance();
-
}
time_t TimeManagement::seconds_since_boot() const
{