aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-05-21 18:16:59 -0700
committerUlrich Drepper <drepper@redhat.com>2009-05-21 18:16:59 -0700
commitd14eda9310125ddf8fe66df01bbe46ab7d226a5e (patch)
treea220d3a6a5ad05c3719635437ac92d8ad00c6f99
parenta2292378d0d629c26edfae6b197efbdb362a7094 (diff)
downloadglibc-d14eda9310125ddf8fe66df01bbe46ab7d226a5e.zip
glibc-d14eda9310125ddf8fe66df01bbe46ab7d226a5e.tar.gz
glibc-d14eda9310125ddf8fe66df01bbe46ab7d226a5e.tar.bz2
Remove __NR_accept4 definition.
This definition was meant to be removed before the checkin. It was used in the development.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/unix/sysv/linux/accept4.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 057e6cd..a88d8e9 100644
--- 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.
diff --git a/sysdeps/unix/sysv/linux/accept4.c b/sysdeps/unix/sysv/linux/accept4.c
index 97f7b8c..4be710f 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 <drepper@redhat.com>, 2008.
@@ -24,8 +24,6 @@
#include <sysdep-cancel.h>
#include <sys/syscall.h>
-#define __NR_accept4 288
-
#ifdef __NR_accept4
int