]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Remove __NR_accept4 definition.
authorJakub Jelinek <jakub@redhat.com>
Fri, 22 May 2009 01:16:59 +0000 (18:16 -0700)
committerPetr Baudis <pasky@suse.cz>
Fri, 22 May 2009 03:04:09 +0000 (05:04 +0200)
This definition was meant to be removed before the checkin.  It was
used in the development.
(cherry picked from commit d14eda9310125ddf8fe66df01bbe46ab7d226a5e)

ChangeLog
sysdeps/unix/sysv/linux/accept4.c

index 16f3e53c9a1f4b47b986a0f3a2e50986baa2b57c..dd4e6721b98063819371500fd4d1d8b4031e0c8c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2009-05-21  Jakub Jelinek  <jakub@redhat.com>
 
+       * sysdeps/unix/sysv/linux/accept4.c (__NR_accept4): Don't define.
+
        * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_paccept): Remove.
        (SOCKOP_accept4): Define.
 
index 97f7b8ce627a14bb45a82c54d857be3562f8d805..4be710f76d8a23712a148a3e24327fd5ed259881 100644 (file)
@@ -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 <drepper@redhat.com>, 2008.
 
@@ -24,8 +24,6 @@
 #include <sysdep-cancel.h>
 #include <sys/syscall.h>
 
-#define __NR_accept4                            288
-
 
 #ifdef __NR_accept4
 int