summaryrefslogtreecommitdiff
path: root/sysdeps/nacl/kernel-features.h
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2017-04-14 10:30:01 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-04-14 10:30:01 +0200
commit02191c903188162a48f57a4644dcd74809011151 (patch)
treeab9febb90f4428882d42c0ac334cf805662feca7 /sysdeps/nacl/kernel-features.h
parent6417a03b98b851c7e5fea01ffd744d497971277e (diff)
downloadglibc-fw/accept4.tar.gz
Assume that accept4 is always available and worksfw/accept4
Simplify the Linux accept4 implementation based on the assumption that it is available in some way. __ASSUME_ACCEPT4_SOCKETCALL was previously unused, so remove it. Its functionality is implied by the complex #if condition in accept4.c.
Diffstat (limited to 'sysdeps/nacl/kernel-features.h')
-rw-r--r--sysdeps/nacl/kernel-features.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/nacl/kernel-features.h b/sysdeps/nacl/kernel-features.h
index 32834fd792..ba315b6638 100644
--- a/sysdeps/nacl/kernel-features.h
+++ b/sysdeps/nacl/kernel-features.h
@@ -19,7 +19,3 @@
/* This file can define __ASSUME_* macros checked by certain source files.
Almost none of these are used outside of sysdeps/unix/sysv/linux code.
But those referring to POSIX-level features like O_* flags can be. */
-
-/*
-#define __ASSUME_ACCEPT4 1
-*/