aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-07-14 23:35:04 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-07-14 23:35:04 +0000
commit886ee6f6a505e59692aabc8c6ed6c940f33d6324 (patch)
treefe4471222df4b904c39333a509a06584c6168aa4 /include
parent0d76c3ba866616cbc80ca3b30e78242b1fc11de7 (diff)
downloadsrc-886ee6f6a505e59692aabc8c6ed6c940f33d6324.tar.gz
src-886ee6f6a505e59692aabc8c6ed6c940f33d6324.zip
clnt_vc_create() has const scalar arguments that wind up being modified,
fix it (make them non-const) and update the associated documentation. Submitted by: mbr
Notes
Notes: svn path=/head/; revision=100001
Diffstat (limited to 'include')
-rw-r--r--include/rpc/clnt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rpc/clnt.h b/include/rpc/clnt.h
index 210650e02b80..a6f4796980b6 100644
--- a/include/rpc/clnt.h
+++ b/include/rpc/clnt.h
@@ -394,7 +394,7 @@ extern CLIENT *clnt_tli_create(const int, const struct netconfig *,
*/
extern CLIENT *clnt_vc_create(const int, const struct netbuf *,
const rpcprog_t, const rpcvers_t,
- const u_int, const u_int);
+ u_int, u_int);
/*
* Added for compatibility to old rpc 4.0. Obsoleted by clnt_vc_create().
*/