From 52fb79d6cdecb89a6f0375091e7c12ed79ae6760 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Sat, 17 Oct 2015 12:02:37 +0200 Subject: Assume that SOCK_CLOEXEC is available and works This fixes (harmless) data races when accessing the various __have_sock_cloexec variables. --- socket/have_sock_cloexec.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'socket') diff --git a/socket/have_sock_cloexec.c b/socket/have_sock_cloexec.c index c849f92..72b184c 100644 --- a/socket/have_sock_cloexec.c +++ b/socket/have_sock_cloexec.c @@ -19,10 +19,6 @@ #include #include -#if defined SOCK_CLOEXEC && !defined __ASSUME_SOCK_CLOEXEC -int __have_sock_cloexec; -#endif - #if defined O_CLOEXEC && !defined __ASSUME_PIPE2 int __have_pipe2; #endif -- cgit v1.1