mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
Kernel+LibC: Pack SC_stat_params struct tighter
Flagged by pvs-studio, ordering the members from largest to smallest allows us to save a few bytes in the size of the struct.
This commit is contained in:
parent
be15bd3c86
commit
07b314e843
Notes:
sideshowbarker
2024-07-18 03:51:58 +09:00
Author: https://github.com/bgianfo
Commit: 07b314e843
Pull-request: https://github.com/SerenityOS/serenity/pull/10053
2 changed files with 2 additions and 2 deletions
|
@ -450,9 +450,9 @@ struct SC_waitid_params {
|
|||
};
|
||||
|
||||
struct SC_stat_params {
|
||||
int dirfd;
|
||||
StringArgument path;
|
||||
struct stat* statbuf;
|
||||
int dirfd;
|
||||
int follow_symlinks;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue