From 1bc1a2b9076b8383ed82dbe1996b738515544246 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 9 Feb 2004 10:47:53 +0000 Subject: * 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 * 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. --- sunrpc/svcauth_des.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sunrpc/svcauth_des.c') diff --git a/sunrpc/svcauth_des.c b/sunrpc/svcauth_des.c index 6a550af8e9..d808e95f05 100644 --- a/sunrpc/svcauth_des.c +++ b/sunrpc/svcauth_des.c @@ -72,8 +72,8 @@ struct cache_entry char *localcred; /* generic local credential */ }; #ifdef _RPC_THREAD_SAFE_ -#define authdes_cache ((struct cache_entry *)RPC_THREAD_VARIABLE(authdes_cache_s)) -#define authdes_lru ((int *)RPC_THREAD_VARIABLE(authdes_lru_s)) +#define authdes_cache RPC_THREAD_VARIABLE(authdes_cache_s) +#define authdes_lru RPC_THREAD_VARIABLE(authdes_lru_s) #else static struct cache_entry *authdes_cache; static int *authdes_lru; -- cgit 1.4.1