]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - include/sys/socket.h
Assume that SOCK_CLOEXEC is available and works
[thirdparty/glibc.git] / include / sys / socket.h
index 2f4bfd3a9377d6dea299c44e6a6f08ea99ea8aa4..a00ab3cf93a8369b5c1fe0a5b73d2c3c0928a0c1 100644 (file)
@@ -154,13 +154,5 @@ libc_hidden_proto (__libc_sa_len)
 # define SA_LEN(_x)      __libc_sa_len((_x)->sa_family)
 #endif
 
-#ifdef SOCK_CLOEXEC
-extern int __have_sock_cloexec attribute_hidden;
-/* At lot of other functionality became available at the same time as
-   SOCK_CLOEXEC.  Avoid defining separate variables for all of them
-   unless it is really necessary.  */
-# define __have_paccept __have_sock_cloexec
-#endif
-
 #endif
 #endif