summaryrefslogtreecommitdiffstats
path: root/cpukit/librpc/src/rpc/svc.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-11-27 09:35:40 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-11-27 09:35:40 +0000
commitd16b2d3548c6308cc4fdcc034c42216f5a936bce (patch)
tree20ecd38afaa43314ca20b90700e6edad35148866 /cpukit/librpc/src/rpc/svc.c
parent2003-11-26 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-d16b2d3548c6308cc4fdcc034c42216f5a936bce.tar.bz2
2003-11-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/rpc/rpc.hinclude/rpc/rpc.h: Rename struct rtems_rpc_task_variables into struct _rtems_rpc_task_variables (Avoid symbol conflict between struct and variable). struct _rtems_rpc_task_variables *rtems_rpc_task_variables; Reflect changes above. * src/rpc/clnt_perror.c, src/rpc/clnt_raw.c, src/rpc/clnt_simple.c, src/rpc/rpcdname.c, src/rpc/rtems_rpc.c, src/rpc/svc.c, src/rpc/svc_auth.c, src/rpc/svc_raw.c, src/rpc/svc_simple.c: Reflect changes above.
Diffstat (limited to 'cpukit/librpc/src/rpc/svc.c')
-rw-r--r--cpukit/librpc/src/rpc/svc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpukit/librpc/src/rpc/svc.c b/cpukit/librpc/src/rpc/svc.c
index 92832a589b..751ca3185f 100644
--- a/cpukit/librpc/src/rpc/svc.c
+++ b/cpukit/librpc/src/rpc/svc.c
@@ -49,8 +49,8 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/svc.c,v 1.14 1999/08/28 00:00:4
#include <rpc/rpc.h>
#include <rpc/pmap_clnt.h>
-#define xports ((SVCXPRT **)((struct rtems_rpc_task_variables *)rtems_rpc_task_variables)->svc_xports)
-#define xportssize (((struct rtems_rpc_task_variables *)rtems_rpc_task_variables)->svc_xportssize)
+#define xports ((SVCXPRT **) rtems_rpc_task_variables->svc_xports)
+#define xportssize (rtems_rpc_task_variables->svc_xportssize)
#define NULL_SVC ((struct svc_callout *)0)
#define RQCRED_SIZE 400 /* this size is excessive */
@@ -69,7 +69,7 @@ struct svc_callout {
u_long sc_vers;
void (*sc_dispatch)();
};
-#define svc_head (struct svc_callout *)(((struct rtems_rpc_task_variables *)rtems_rpc_task_variables)->svc_svc_head)
+#define svc_head (struct svc_callout *)((rtems_rpc_task_variables)->svc_svc_head)
static struct svc_callout *svc_find();