From 64cc3f51d0a1d4ddc68fe9e3b5da2834eac48dae Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Fri, 18 Sep 2020 09:49:51 +0200 Subject: Meta+Kernel: Make clang-format-10 clean --- Kernel/Time/PIT.cpp | 2 +- Kernel/Time/RTC.cpp | 2 +- Kernel/Time/RTC.h | 4 ++-- Kernel/Time/TimeManagement.cpp | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) (limited to 'Kernel/Time') 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 +#include #include #include #include #include #include -#include #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 #include +#include #include #include -#include 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 { -- cgit v1.2.3