diff options
author | ru <ru@FreeBSD.org> | 2005-11-23 16:44:23 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-11-23 16:44:23 +0000 |
commit | 869e65f8811fc7432cad2a6c894cd64dfedb1383 (patch) | |
tree | 86bddf14b9bb62739118916efb64285d24c5bc18 /lib | |
parent | 1d59f819d850a9100db7f0a97ad424e877bc1a5d (diff) | |
download | FreeBSD-src-869e65f8811fc7432cad2a6c894cd64dfedb1383.zip FreeBSD-src-869e65f8811fc7432cad2a6c894cd64dfedb1383.tar.gz |
Fix prototypes.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/rpc/publickey.3 | 2 | ||||
-rw-r--r-- | lib/libc/rpc/rpc_clnt_create.3 | 4 | ||||
-rw-r--r-- | lib/libc/rpc/rpc_svc_calls.3 | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/rpc/publickey.3 b/lib/libc/rpc/publickey.3 index 369ae8b..d0ad6cc 100644 --- a/lib/libc/rpc/publickey.3 +++ b/lib/libc/rpc/publickey.3 @@ -14,7 +14,7 @@ .In rpc/key_prot.h .Ft int .Fo getpublickey -.Fa "char netname[MAXNETNAMELEN+1]" +.Fa "const char netname[MAXNETNAMELEN+1]" .Fa "char publickey[HEXKEYBYTES+1]" .Fc .Ft int diff --git a/lib/libc/rpc/rpc_clnt_create.3 b/lib/libc/rpc/rpc_clnt_create.3 index 223b9af..3008b15 100644 --- a/lib/libc/rpc/rpc_clnt_create.3 +++ b/lib/libc/rpc/rpc_clnt_create.3 @@ -40,7 +40,7 @@ handles .Ft "CLIENT *" .Fn clnt_create_vers "const char * host" "const rpcprog_t prognum" "rpcvers_t *vers_outp" "const rpcvers_t vers_low" "const rpcvers_t vers_high" "const char *nettype" .Ft "CLIENT *" -.Fn clnt_create_vers_timed "const char * host" "const rpcprog_t prognum" "rpcvers_t *vers_outp" "const rpcvers_t vers_low" "const rpcvers_t vers_high" "char *nettype" "const struct timeval *timeout" +.Fn clnt_create_vers_timed "const char * host" "const rpcprog_t prognum" "rpcvers_t *vers_outp" "const rpcvers_t vers_low" "const rpcvers_t vers_high" "const char *nettype" "const struct timeval *timeout" .Ft void .Fn clnt_destroy "CLIENT *clnt" .Ft "CLIENT *" @@ -52,7 +52,7 @@ handles .Ft "CLIENT *" .Fn clnt_raw_create "const rpcprog_t prognum" "const rpcvers_t versnum" .Ft "CLIENT *" -.Fn clnt_tli_create "const int fildes" "const struct netconfig *netconf" "const struct netbuf *svcaddr" "const rpcprog_t prognum" "const rpcvers_t versnum" "const u_int sendsz" "const u_int recvsz" +.Fn clnt_tli_create "const int fildes" "const struct netconfig *netconf" "struct netbuf *svcaddr" "const rpcprog_t prognum" "const rpcvers_t versnum" "const u_int sendsz" "const u_int recvsz" .Ft "CLIENT *" .Fn clnt_tp_create "const char * host" "const rpcprog_t prognum" "const rpcvers_t versnum" "const struct netconfig *netconf" .Ft "CLIENT *" diff --git a/lib/libc/rpc/rpc_svc_calls.3 b/lib/libc/rpc/rpc_svc_calls.3 index 0596fdd..8732962 100644 --- a/lib/libc/rpc/rpc_svc_calls.3 +++ b/lib/libc/rpc/rpc_svc_calls.3 @@ -47,7 +47,7 @@ .Ft void .Fn svc_run "void" .Ft bool_t -.Fn svc_sendreply "SVCXPRT *xprt" "xdrproc_t outproc" "char *out" +.Fn svc_sendreply "SVCXPRT *xprt" "xdrproc_t outproc" "void *out" .Sh DESCRIPTION These routines are part of the RPC |