diff --git a/ChangeLog b/ChangeLog index 057e6cd699..a88d8e990c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2009-05-21 Jakub Jelinek + * sysdeps/unix/sysv/linux/accept4.c (__NR_accept4): Don't define. + * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_paccept): Remove. (SOCKOP_accept4): Define. diff --git a/sysdeps/unix/sysv/linux/accept4.c b/sysdeps/unix/sysv/linux/accept4.c index 97f7b8ce62..4be710f76d 100644 --- a/sysdeps/unix/sysv/linux/accept4.c +++ b/sysdeps/unix/sysv/linux/accept4.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2008 Free Software Foundation, Inc. +/* Copyright (C) 2008, 2009 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 2008. @@ -24,8 +24,6 @@ #include #include -#define __NR_accept4 288 - #ifdef __NR_accept4 int