summaryrefslogtreecommitdiffstats
path: root/cpukit/librpc/src/rpc/svc_auth.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-11-21 04:45:39 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-11-21 04:45:39 +0000
commitddb56f497d21aa84cf3311ac665744243cd627a0 (patch)
tree014ac737c0c11e17c9012d08b49a20c831023166 /cpukit/librpc/src/rpc/svc_auth.c
parent2004-11-20 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-ddb56f497d21aa84cf3311ac665744243cd627a0.tar.bz2
2004-11-21 Ralf Corsepius <ralf.corsepius@rtems.org>
* librpc/include/rpc/rpc.h (struct _rtems_rpc_task_variables): Use pointers to types instead of void* to avoid casts. * librpc/src/rpc/clnt_perror.c, librpc/src/rpc/clnt_raw.c, librpc/src/rpc/clnt_simple.c, librpc/src/rpc/rpcdname.c, librpc/src/rpc/svc.c, librpc/src/rpc/svc_auth.c, librpc/src/rpc/svc_simple.c: Eliminate lvalue casts gcc-3.4 warns about.
Diffstat (limited to 'cpukit/librpc/src/rpc/svc_auth.c')
-rw-r--r--cpukit/librpc/src/rpc/svc_auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/librpc/src/rpc/svc_auth.c b/cpukit/librpc/src/rpc/svc_auth.c
index 5f36433388..c1095932a7 100644
--- a/cpukit/librpc/src/rpc/svc_auth.c
+++ b/cpukit/librpc/src/rpc/svc_auth.c
@@ -87,7 +87,7 @@ struct authsvc {
enum auth_stat (*handler)();
struct authsvc *next;
};
-#define Auths ((struct authsvc *)(rtems_rpc_task_variables)->svc_auths_Auths)
+#define Auths (rtems_rpc_task_variables->svc_auths_Auths)
/*
* The call rpc message, msg has been obtained from the wire. The msg contains