mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-06 01:26:22 +00:00
Kernel: Convert Process-related const member functions to static
Process::get_syscall_path_argument() and ProcFSExposedComponent::modified_time() both are independent of this.
This commit is contained in:
parent
bc29c7f04f
commit
eb1181b898
Notes:
sideshowbarker
2024-07-18 01:06:49 +09:00
Author: https://github.com/ADKaster
Commit: eb1181b898
Pull-request: https://github.com/SerenityOS/serenity/pull/10737
Reviewed-by: https://github.com/BenWiederhake
Reviewed-by: https://github.com/PeterBindels-TomTom
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/dascandy
Reviewed-by: https://github.com/trflynn89
3 changed files with 5 additions and 5 deletions
|
@ -76,7 +76,7 @@ public:
|
|||
virtual mode_t required_mode() const { return 0444; }
|
||||
virtual UserID owner_user() const { return 0; }
|
||||
virtual GroupID owner_group() const { return 0; }
|
||||
time_t modified_time() const { return TimeManagement::now().to_timeval().tv_sec; }
|
||||
static time_t modified_time() { return TimeManagement::now().to_timeval().tv_sec; }
|
||||
|
||||
virtual void prepare_for_deletion() { }
|
||||
virtual ErrorOr<void> refresh_data(OpenFileDescription&) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue