aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/rpc/getrpcent.3
diff options
context:
space:
mode:
authorPedro F. Giffuni <pfg@FreeBSD.org>2016-02-26 23:25:21 +0000
committerPedro F. Giffuni <pfg@FreeBSD.org>2016-02-26 23:25:21 +0000
commit283970e8738f7a17ae0ae1ce3f814d5603698a7a (patch)
treee4fbb28288fbd06ba283ad5b183990ebce1ae791 /lib/libc/rpc/getrpcent.3
parent733191a56c7d659a25f3541d0d88b7c3f93db4f9 (diff)
downloadsrc-283970e8738f7a17ae0ae1ce3f814d5603698a7a.tar.gz
src-283970e8738f7a17ae0ae1ce3f814d5603698a7a.zip
RPC: update the getrpcbyname() definition to include a const qualifier.
Add const qualifier making getrpcbyname() and getrpcbyname_r() prototypes match those used in latest Sun RPC code (TI-RPC 2.3). Obtained from: NetBSD
Notes
Notes: svn path=/head/; revision=296133
Diffstat (limited to 'lib/libc/rpc/getrpcent.3')
-rw-r--r--lib/libc/rpc/getrpcent.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/getrpcent.3 b/lib/libc/rpc/getrpcent.3
index 1a999eb3f9cb..e36d31c4a7ba 100644
--- a/lib/libc/rpc/getrpcent.3
+++ b/lib/libc/rpc/getrpcent.3
@@ -2,7 +2,7 @@
.\" $NetBSD: getrpcent.3,v 1.6 1998/02/05 18:49:06 perry Exp $
.\" $FreeBSD$
.\"
-.Dd December 14, 1987
+.Dd February 26, 2016
.Dt GETRPCENT 3
.Os
.Sh NAME
@@ -19,7 +19,7 @@
.Ft struct rpcent *
.Fn getrpcent void
.Ft struct rpcent *
-.Fn getrpcbyname "char *name"
+.Fn getrpcbyname "const char *name"
.Ft struct rpcent *
.Fn getrpcbynumber "int number"
.Ft void