about summary refs log tree commit diff
path: root/socket
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-04-18 14:09:01 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-04-18 14:09:01 +0200
commit46d8874d5b2fcb7831dd84c5e2f6df51922a7936 (patch)
tree298787303d12ee07ef36fb95033467feed045211 /socket
parent025b33ae84bb8f15b2748a1d8605dca453fce112 (diff)
downloadglibc-46d8874d5b2fcb7831dd84c5e2f6df51922a7936.tar.gz
glibc-46d8874d5b2fcb7831dd84c5e2f6df51922a7936.tar.xz
glibc-46d8874d5b2fcb7831dd84c5e2f6df51922a7936.zip
Assume that pipe2 is always available
The Debian patches for Hurd (which are already required to build
glibc before this commit) contain an implementation of pipe2.
Diffstat (limited to 'socket')
-rw-r--r--socket/have_sock_cloexec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/socket/have_sock_cloexec.c b/socket/have_sock_cloexec.c
index 70c730ed12..579577d895 100644
--- a/socket/have_sock_cloexec.c
+++ b/socket/have_sock_cloexec.c
@@ -19,10 +19,6 @@
 #include <sys/socket.h>
 #include <kernel-features.h>
 
-#if defined O_CLOEXEC && !defined __ASSUME_PIPE2
-int __have_pipe2;
-#endif
-
 #if defined O_CLOEXEC && !defined __ASSUME_DUP3
 int __have_dup3;
 #endif