diff options
author | ngie <ngie@FreeBSD.org> | 2016-12-03 18:56:28 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2016-12-03 18:56:28 +0000 |
commit | 56b2b6296d72355f285da621fe6f57a5022d1575 (patch) | |
tree | eecc1b2ca18cc50d028bddafe12613206ef00ec8 /include | |
parent | 55aeed8456730d362f96cc797e2911207d07a6b2 (diff) | |
download | FreeBSD-src-56b2b6296d72355f285da621fe6f57a5022d1575.zip FreeBSD-src-56b2b6296d72355f285da621fe6f57a5022d1575.tar.gz |
MFC r296133:
r296133 (by pfg):
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
Diffstat (limited to 'include')
-rw-r--r-- | include/rpc/rpcent.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rpc/rpcent.h b/include/rpc/rpcent.h index 405ba67..c1650fa 100644 --- a/include/rpc/rpcent.h +++ b/include/rpc/rpcent.h @@ -56,7 +56,7 @@ __BEGIN_DECLS * These interfaces are currently implemented through nsswitch and are * MT-safe. */ -extern struct rpcent *getrpcbyname(char *); +extern struct rpcent *getrpcbyname(const char *); extern struct rpcent *getrpcbynumber(int); extern struct rpcent *getrpcent(void); extern void setrpcent(int); |