about summary refs log tree commit diff
path: root/sunrpc/rpc_thread.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2018-06-26 15:27:03 +0200
committerFlorian Weimer <fweimer@redhat.com>2018-06-26 15:27:03 +0200
commit935d920e763626dbcbbf655117285d1d270791a1 (patch)
tree70d085e93baad80dc7036b27b30ca06dbad16e57 /sunrpc/rpc_thread.c
parent29055464a03c72762969a2e8734d0d05d4d70e58 (diff)
downloadglibc-935d920e763626dbcbbf655117285d1d270791a1.tar.gz
glibc-935d920e763626dbcbbf655117285d1d270791a1.tar.xz
glibc-935d920e763626dbcbbf655117285d1d270791a1.zip
sunrpc: Remove always-defined _RPC_THREAD_SAFE_ macro
Header and C source file changes were generated using:

unifdef -m -D_RPC_THREAD_SAFE_ include/rpc/rpc.h sunrpc/*.c
Diffstat (limited to 'sunrpc/rpc_thread.c')
-rw-r--r--sunrpc/rpc_thread.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sunrpc/rpc_thread.c b/sunrpc/rpc_thread.c
index ccbf9bb69b..068a49f92b 100644
--- a/sunrpc/rpc_thread.c
+++ b/sunrpc/rpc_thread.c
@@ -6,7 +6,6 @@
 #include <libc-tsd.h>
 #include <shlib-compat.h>
 
-#ifdef _RPC_THREAD_SAFE_
 
 /* Variable used in non-threaded applications or for the first thread.  */
 static struct rpc_thread_variables __libc_tsd_RPC_VARS_mem;
@@ -136,5 +135,3 @@ libc_hidden_def (__rpc_thread_svc_max_pollfd)
 #else
 libc_hidden_nolink_sunrpc (__rpc_thread_svc_max_pollfd, GLIBC_2_2_3)
 #endif
-
-#endif /* _RPC_THREAD_SAFE_ */