about summary refs log tree commit diff
path: root/sunrpc/key_call.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2004-02-09 10:47:53 +0000
committerAndreas Schwab <schwab@suse.de>2004-02-09 10:47:53 +0000
commit1bc1a2b9076b8383ed82dbe1996b738515544246 (patch)
tree15e0a40ac2a1c4c54a0eca0f5ba6b03a563f571f /sunrpc/key_call.c
parent7be688b58fb2e5fea5db003d9ea72c4d779e65c6 (diff)
downloadglibc-1bc1a2b9076b8383ed82dbe1996b738515544246.tar.gz
glibc-1bc1a2b9076b8383ed82dbe1996b738515544246.tar.xz
glibc-1bc1a2b9076b8383ed82dbe1996b738515544246.zip
* 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/key_call.c')
-rw-r--r--sunrpc/key_call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/key_call.c b/sunrpc/key_call.c
index 0b09a5a66e..211f61db70 100644
--- a/sunrpc/key_call.c
+++ b/sunrpc/key_call.c
@@ -370,7 +370,7 @@ struct  key_call_private {
   uid_t   uid;            /* user-id at last authorization */
 };
 #ifdef _RPC_THREAD_SAFE_
-#define key_call_private_main ((struct  key_call_private *)RPC_THREAD_VARIABLE(key_call_private_s))
+#define key_call_private_main RPC_THREAD_VARIABLE(key_call_private_s)
 #else
 static struct key_call_private *key_call_private_main;
 #endif