diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/listen.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/listen.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/listen.c b/sysdeps/unix/sysv/linux/listen.c index 8d7ff85edf..e563e4df6c 100644 --- a/sysdeps/unix/sysv/linux/listen.c +++ b/sysdeps/unix/sysv/linux/listen.c @@ -15,19 +15,14 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ -#include <errno.h> -#include <signal.h> #include <sys/socket.h> - #include <socketcall.h> -#include <kernel-features.h> -#include <sys/syscall.h> int listen (int fd, int backlog) { #ifdef __ASSUME_LISTEN_SYSCALL - return INLINE_SYSCALL (listen, 2, fd, backlog); + return INLINE_SYSCALL_CALL (listen, fd, backlog); #else return SOCKETCALL (listen, fd, backlog); #endif |