diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-11-21 04:45:39 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-11-21 04:45:39 +0000 |
commit | ddb56f497d21aa84cf3311ac665744243cd627a0 (patch) | |
tree | 014ac737c0c11e17c9012d08b49a20c831023166 /cpukit/librpc/src/rpc/clnt_perror.c | |
parent | 2004-11-20 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-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/clnt_perror.c')
-rw-r--r-- | cpukit/librpc/src/rpc/clnt_perror.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/librpc/src/rpc/clnt_perror.c b/cpukit/librpc/src/rpc/clnt_perror.c index a7df29c0dd..d38761d6d5 100644 --- a/cpukit/librpc/src/rpc/clnt_perror.c +++ b/cpukit/librpc/src/rpc/clnt_perror.c @@ -50,7 +50,7 @@ static char *rcsid = "$FreeBSD: src/lib/libc/rpc/clnt_perror.c,v 1.11 1999/08/28 static char *auth_errmsg(); #define CLNT_PERROR_BUFLEN 256 -#define buf ((char *)(rtems_rpc_task_variables)->clnt_perror_buf) +#define buf (rtems_rpc_task_variables->clnt_perror_buf) static char * _buf() |