diff options
author | Florian Weimer <fweimer@redhat.com> | 2018-06-26 15:27:03 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2018-06-26 15:27:03 +0200 |
commit | 935d920e763626dbcbbf655117285d1d270791a1 (patch) | |
tree | 70d085e93baad80dc7036b27b30ca06dbad16e57 /sunrpc/key_call.c | |
parent | 29055464a03c72762969a2e8734d0d05d4d70e58 (diff) | |
download | glibc-935d920e763626dbcbbf655117285d1d270791a1.tar.gz |
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/key_call.c')
-rw-r--r-- | sunrpc/key_call.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sunrpc/key_call.c b/sunrpc/key_call.c index a599fd9a6b..9b8f9819c9 100644 --- a/sunrpc/key_call.c +++ b/sunrpc/key_call.c @@ -378,11 +378,7 @@ struct key_call_private { pid_t pid; /* process-id at moment of creation */ uid_t uid; /* user-id at last authorization */ }; -#ifdef _RPC_THREAD_SAFE_ #define key_call_private_main RPC_THREAD_VARIABLE(key_call_private_s) -#else -static struct key_call_private *key_call_private_main; -#endif __libc_lock_define_initialized (static, keycall_lock) /* @@ -555,7 +551,6 @@ key_call (u_long proc, xdrproc_t xdr_arg, char *arg, #endif } -#ifdef _RPC_THREAD_SAFE_ void __rpc_thread_key_cleanup (void) { @@ -570,4 +565,3 @@ __rpc_thread_key_cleanup (void) free (kcp); } } -#endif /* _RPC_THREAD_SAFE_ */ |