diff options
author | Andreas Schwab <schwab@suse.de> | 2004-02-09 10:47:53 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2004-02-09 10:47:53 +0000 |
commit | 1bc1a2b9076b8383ed82dbe1996b738515544246 (patch) | |
tree | 15e0a40ac2a1c4c54a0eca0f5ba6b03a563f571f /sunrpc/svc.c | |
parent | 7be688b58fb2e5fea5db003d9ea72c4d779e65c6 (diff) | |
download | glibc-1bc1a2b9076b8383ed82dbe1996b738515544246.tar.gz |
* include/rpc/rpc.h: Declare thread variables with their correct
type.
* sunrpc/clnt_perr.c: Don't cast thread variables.
* sunrpc/clnt_raw.c: Likewise.
* sunrpc/clnt_simp.c: Likewise.
* sunrpc/key_call.c: Likewise.
* sunrpc/svcauth_des.c: Likewise.
* sunrpc/svc.c: Likewise.
* sunrpc/svc_raw.c: Likewise.
* sunrpc/svc_simple.c: Likewise.
2004-02-09 Andreas Schwab <schwab@suse.de>
* include/rpc/rpc.h: Declare thread variables with their correct
type.
* sunrpc/clnt_perr.c: Don't cast thread variables.
* sunrpc/clnt_raw.c: Likewise.
* sunrpc/clnt_simp.c: Likewise.
* sunrpc/key_call.c: Likewise.
* sunrpc/svcauth_des.c: Likewise.
* sunrpc/svc.c: Likewise.
* sunrpc/svc_raw.c: Likewise.
* sunrpc/svc_simple.c: Likewise.
Diffstat (limited to 'sunrpc/svc.c')
-rw-r--r-- | sunrpc/svc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sunrpc/svc.c b/sunrpc/svc.c index fe27c3c861..6caf8412d5 100644 --- a/sunrpc/svc.c +++ b/sunrpc/svc.c @@ -44,7 +44,7 @@ #include <sys/poll.h> #ifdef _RPC_THREAD_SAFE_ -#define xports ((SVCXPRT **)RPC_THREAD_VARIABLE(svc_xports_s)) +#define xports RPC_THREAD_VARIABLE(svc_xports_s) #else static SVCXPRT **xports; #endif @@ -63,7 +63,7 @@ struct svc_callout { void (*sc_dispatch) (struct svc_req *, SVCXPRT *); }; #ifdef _RPC_THREAD_SAFE_ -#define svc_head ((struct svc_callout *)RPC_THREAD_VARIABLE(svc_head_s)) +#define svc_head RPC_THREAD_VARIABLE(svc_head_s) #else static struct svc_callout *svc_head; #endif |