summaryrefslogtreecommitdiffstats
path: root/cpukit/librpc/src/rpc/rtems_rpc.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/rtems_rpc.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 '')
-rw-r--r--cpukit/librpc/src/rpc/rtems_rpc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/librpc/src/rpc/rtems_rpc.c b/cpukit/librpc/src/rpc/rtems_rpc.c
index d2666e2f91..254558fb47 100644
--- a/cpukit/librpc/src/rpc/rtems_rpc.c
+++ b/cpukit/librpc/src/rpc/rtems_rpc.c
@@ -9,21 +9,21 @@
/*
* RPC variables for single-thread
*/
-static struct rtems_rpc_task_variables rpc_default = {
+static struct _rtems_rpc_task_variables rpc_default = {
-1, /* svc_maxfd */
};
/*
* RPC values for initializing a new per-task set of variables
*/
-static const struct rtems_rpc_task_variables rpc_init = {
+static const struct _rtems_rpc_task_variables rpc_init = {
-1, /* svc_maxfd */
};
/*
* Per-task pointer to RPC data
*/
-void *rtems_rpc_task_variables = &rpc_default;
+struct _rtems_rpc_task_variables *rtems_rpc_task_variables = &rpc_default;
/*
* Set up per-task RPC variables
@@ -31,7 +31,7 @@ void *rtems_rpc_task_variables = &rpc_default;
int rtems_rpc_task_init (void)
{
rtems_status_code sc;
- struct rtems_rpc_task_variables *tvp;
+ struct _rtems_rpc_task_variables *tvp;
if (rtems_rpc_task_variables == &rpc_default) {
tvp = malloc (sizeof *tvp);