diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-01-15 13:18:42 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-01-15 13:18:42 +0000 |
commit | 51d2e12a88732c8d63311564fd4df090ac3d3608 (patch) | |
tree | b85c9429c196972dcd6f7c69e0e859d87ae514c3 /libc/inet/rpc/clnt_simple.c | |
parent | 67fb342b086501f95fdadb3cf69ff9abb7a714e7 (diff) |
I've been working on fixing up the rpc crap. now it is only
_mostly_ broken, a big improvement. Still doesn't compile...
Diffstat (limited to 'libc/inet/rpc/clnt_simple.c')
-rw-r--r-- | libc/inet/rpc/clnt_simple.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libc/inet/rpc/clnt_simple.c b/libc/inet/rpc/clnt_simple.c index 77657ecf3..15bf3fe68 100644 --- a/libc/inet/rpc/clnt_simple.c +++ b/libc/inet/rpc/clnt_simple.c @@ -41,6 +41,7 @@ static char sccsid[] = */ #include <stdio.h> +#include <unistd.h> #include <rpc/rpc.h> #include <sys/socket.h> #include <netdb.h> @@ -53,10 +54,10 @@ static struct callrpc_private { char *oldhost; } *callrpc_private; -callrpc(host, prognum, versnum, procnum, inproc, in, outproc, out) -char *host; -xdrproc_t inproc, outproc; -char *in, *out; +int callrpc (const char *host, const u_long prognum, + const u_long versnum, const u_long procnum, + const xdrproc_t inproc, const char *in, + const xdrproc_t outproc, char *out) { register struct callrpc_private *crp = callrpc_private; struct sockaddr_in server_addr; |