mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
Kernel+LibC: Pack SC_accept4_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
b45ca5d56e
commit
9956607283
2 changed files with 2 additions and 2 deletions
|
@ -285,9 +285,9 @@ struct SC_clock_nanosleep_params {
|
|||
};
|
||||
|
||||
struct SC_accept4_params {
|
||||
int sockfd;
|
||||
sockaddr* addr;
|
||||
socklen_t* addrlen;
|
||||
int sockfd;
|
||||
int flags;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue