Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(635)

Unified Diff: fusl/src/network/accept.c

Issue 1730723002: [fusl] Remove socketcall abstraction (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « fusl/src/internal/syscall.h ('k') | fusl/src/network/accept4.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: fusl/src/network/accept.c
diff --git a/fusl/src/network/accept.c b/fusl/src/network/accept.c
index 4a25af38c49a6c4ac848c3d8e3976566d11e8af3..d96c397df1131c621bbf3b9f19c879c9fbe41adb 100644
--- a/fusl/src/network/accept.c
+++ b/fusl/src/network/accept.c
@@ -3,5 +3,5 @@
#include "libc.h"
int accept(int fd, struct sockaddr* restrict addr, socklen_t* restrict len) {
- return socketcall_cp(accept, fd, addr, len, 0, 0, 0);
+ return syscall_cp(SYS_accept, fd, addr, len, 0, 0, 0);
}
« no previous file with comments | « fusl/src/internal/syscall.h ('k') | fusl/src/network/accept4.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698