diff --git a/Kernel/Process.h b/Kernel/Process.h index b25a47eda0..90b3e3ed76 100644 --- a/Kernel/Process.h +++ b/Kernel/Process.h @@ -1012,7 +1012,7 @@ inline ProcessID Thread::pid() const #define VERIFY_NO_PROCESS_BIG_LOCK(process) \ VERIFY(!process->big_lock().is_exclusively_locked_by_current_thread()) -inline static ErrorOr> try_copy_kstring_from_user(Kernel::Syscall::StringArgument const& string) +inline ErrorOr> try_copy_kstring_from_user(Kernel::Syscall::StringArgument const& string) { Userspace characters((FlatPtr)string.characters); return try_copy_kstring_from_user(characters, string.length); diff --git a/Userland/Libraries/LibGfx/FillPathImplementation.h b/Userland/Libraries/LibGfx/FillPathImplementation.h index 40b00d0415..64ba7ef6b7 100644 --- a/Userland/Libraries/LibGfx/FillPathImplementation.h +++ b/Userland/Libraries/LibGfx/FillPathImplementation.h @@ -14,7 +14,7 @@ namespace Gfx::Detail { -[[maybe_unused]] inline static void approximately_place_on_int_grid(FloatPoint ffrom, FloatPoint fto, IntPoint& from, IntPoint& to, Optional previous_to) +[[maybe_unused]] inline void approximately_place_on_int_grid(FloatPoint ffrom, FloatPoint fto, IntPoint& from, IntPoint& to, Optional previous_to) { auto diffs = fto - ffrom; // Truncate all first (round down). diff --git a/Userland/Utilities/touch.cpp b/Userland/Utilities/touch.cpp index 3f4c654720..3b8691fcbc 100644 --- a/Userland/Utilities/touch.cpp +++ b/Userland/Utilities/touch.cpp @@ -31,7 +31,7 @@ template exit(1); } -inline static bool validate_timestamp(unsigned year, unsigned month, unsigned day, unsigned hour, unsigned minute, unsigned second) +inline bool validate_timestamp(unsigned year, unsigned month, unsigned day, unsigned hour, unsigned minute, unsigned second) { return (year >= 1970) && (month >= 1 && month <= 12) && (day >= 1 && day <= static_cast(days_in_month(year, month))) && (hour <= 23) && (minute <= 59) && (second <= 59); }