projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
overhaul posix semaphores to fix destructability race
[musl]
/
src
/
network
/
listen.c
diff --git
a/src/network/listen.c
b/src/network/listen.c
index
7c8c1a8
..
f84ad03
100644
(file)
--- a/
src/network/listen.c
+++ b/
src/network/listen.c
@@
-1,9
+1,7
@@
#include <sys/socket.h>
#include "syscall.h"
#include <sys/socket.h>
#include "syscall.h"
-#include "socketcall.h"
int listen(int fd, int backlog)
{
int listen(int fd, int backlog)
{
- unsigned long args[] = { fd, backlog };
- return syscall2(__NR_socketcall, SYS_LISTEN, (long)args);
+ return socketcall(listen, fd, backlog, 0, 0, 0, 0);
}
}