about summary refs log tree commit diff
path: root/include
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 /include
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 'include')
-rw-r--r--include/rpc/rpc.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/rpc/rpc.h b/include/rpc/rpc.h
index 1fb925e85c..327d84319e 100644
--- a/include/rpc/rpc.h
+++ b/include/rpc/rpc.h
@@ -13,7 +13,6 @@ extern unsigned long _create_xid (void);
  * Group all global and static variables into a single spot.
  * This area is allocated on a per-thread basis
  */
-#ifdef _RPC_THREAD_SAFE_
 struct rpc_thread_variables {
 	fd_set		svc_fdset_s;		/* Global, rpc_common.c */
 	struct rpc_createerr rpc_createerr_s;	/* Global, rpc_common.c */
@@ -63,7 +62,5 @@ libc_hidden_proto (__rpc_thread_createerr)
 int __libc_rpc_gethostbyname (const char *host, struct sockaddr_in *addr)
   attribute_hidden;
 
-#endif /* _RPC_THREAD_SAFE_ */
-
 # endif /* !_ISOMAC */
 #endif