diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 19:24:38 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-25 20:35:03 +0100 |
| commit | a984eb367c032dbe2577f01238c3d1268526be70 (patch) | |
| tree | 437fef40379b2758b129ccea39df3570fa2d145e /lib/libc/socket/accept.c | |
| parent | 8834571b202cf4dc9c649cfb096c213b6ecf1566 (diff) | |
Clang-tidy fixes
Diffstat (limited to 'lib/libc/socket/accept.c')
| -rw-r--r-- | lib/libc/socket/accept.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/socket/accept.c b/lib/libc/socket/accept.c index af897d3c..aeb43619 100644 --- a/lib/libc/socket/accept.c +++ b/lib/libc/socket/accept.c @@ -3,8 +3,7 @@ #include <sys/socket.h> // for accept, socklen_t #include <syscall.h> // for __syscall_3, syscall -int accept(int socket, struct sockaddr *restrict address, - socklen_t *restrict address_len) +int accept(int socket, struct sockaddr *restrict address, socklen_t *restrict address_len) { return syscall(accept, socket, address, address_len); } |
