diff options
author | alfred <alfred@FreeBSD.org> | 2001-03-23 16:14:49 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2001-03-23 16:14:49 +0000 |
commit | 8e5f42ddb80de05145923cee88caa14c51bc2ffb (patch) | |
tree | 2b1fc25a8d130b7bc12b3c22ec32a7d20a7411f4 /lib | |
parent | 058bb2904405e3a77fa8c05caca59d8ae2253382 (diff) | |
download | FreeBSD-src-8e5f42ddb80de05145923cee88caa14c51bc2ffb.zip FreeBSD-src-8e5f42ddb80de05145923cee88caa14c51bc2ffb.tar.gz |
change callrpc() from taking "char *" args, I'm quite sure they really meant
to use "void *".
remove a duplicate prototype for callrpc() from libexec/ypxfr/ypxfr_extern.h
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/rpc/rpc_soc.3 | 4 | ||||
-rw-r--r-- | lib/libc/rpc/rpc_soc.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/rpc/rpc_soc.3 b/lib/libc/rpc/rpc_soc.3 index ae5819b..3b3b11a 100644 --- a/lib/libc/rpc/rpc_soc.3 +++ b/lib/libc/rpc/rpc_soc.3 @@ -185,9 +185,9 @@ with the appropriate parameters. .Fa "u_long versnum" .Fa "u_long procnum" .Fa "xdrproc_t inproc" -.Fa "char *in" +.Fa "void *in" .Fa "xdrproc_t outproc" -.Fa "char *out" +.Fa "void *out" .Fc .Xc .Pp diff --git a/lib/libc/rpc/rpc_soc.c b/lib/libc/rpc/rpc_soc.c index 07783d6..4d80f00 100644 --- a/lib/libc/rpc/rpc_soc.c +++ b/lib/libc/rpc/rpc_soc.c @@ -335,7 +335,7 @@ callrpc(host, prognum, versnum, procnum, inproc, in, outproc, out) char *host; int prognum, versnum, procnum; xdrproc_t inproc, outproc; - char *in, *out; + void *in, *out; { return (int)rpc_call(host, (rpcprog_t)prognum, (rpcvers_t)versnum, |