diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/socketpair.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/socketpair.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sysdeps/unix/sysv/linux/socketpair.c b/sysdeps/unix/sysv/linux/socketpair.c index d06cbbc2c9..65f8cb46dc 100644 --- a/sysdeps/unix/sysv/linux/socketpair.c +++ b/sysdeps/unix/sysv/linux/socketpair.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 __socketpair (int domain, int type, int protocol, int sv[2]) { #ifdef __ASSUME_SOCKETPAIR_SYSCALL - return INLINE_SYSCALL (socketpair, 4, domain, type, protocol, &sv[0]); + return INLINE_SYSCALL_CALL (socketpair, domain, type, protocol, &sv[0]); #else return SOCKETCALL (socketpair, domain, type, protocol, sv); #endif |