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/svc_simple.c | |
parent | 29055464a03c72762969a2e8734d0d05d4d70e58 (diff) | |
download | glibc-935d920e763626dbcbbf655117285d1d270791a1.tar glibc-935d920e763626dbcbbf655117285d1d270791a1.tar.gz glibc-935d920e763626dbcbbf655117285d1d270791a1.tar.bz2 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/svc_simple.c')
-rw-r--r-- | sunrpc/svc_simple.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sunrpc/svc_simple.c b/sunrpc/svc_simple.c index f12ed31441..2f2595c0ff 100644 --- a/sunrpc/svc_simple.c +++ b/sunrpc/svc_simple.c @@ -53,19 +53,11 @@ struct proglst_ xdrproc_t p_inproc, p_outproc; struct proglst_ *p_nxt; }; -#ifdef _RPC_THREAD_SAFE_ #define proglst RPC_THREAD_VARIABLE(svcsimple_proglst_s) -#else -static struct proglst_ *proglst; -#endif static void universal (struct svc_req *rqstp, SVCXPRT *transp_s); -#ifdef _RPC_THREAD_SAFE_ #define transp RPC_THREAD_VARIABLE(svcsimple_transp_s) -#else -static SVCXPRT *transp; -#endif int __registerrpc (u_long prognum, u_long versnum, u_long procnum, |