From: Jakub Jelinek Date: Fri, 22 May 2009 01:16:59 +0000 (-0700) Subject: Remove __NR_accept4 definition. X-Git-Tag: fedora/glibc-2.10.1-3~4^2~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1223d660444de94f267d77512ea1a93a2dd9a14;p=thirdparty%2Fglibc.git Remove __NR_accept4 definition. This definition was meant to be removed before the checkin. It was used in the development. (cherry picked from commit d14eda9310125ddf8fe66df01bbe46ab7d226a5e) --- diff --git a/ChangeLog b/ChangeLog index 16f3e53c9a1..dd4e6721b98 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 97f7b8ce627..4be710f76d8 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