]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
RPC: update the getrpcbyname() definition to include a const qualifier.
authorpfg <pfg@FreeBSD.org>
Fri, 26 Feb 2016 23:25:21 +0000 (23:25 +0000)
committerpfg <pfg@FreeBSD.org>
Fri, 26 Feb 2016 23:25:21 +0000 (23:25 +0000)
commitd7f6887db1d8636b06229571ab22520a61fd1396
treee4fbb28288fbd06ba283ad5b183990ebce1ae791
parent05d67f014967e279a885ee28f306a4292b4b2762
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
include/rpc/rpcent.h
lib/libc/rpc/getrpcent.3
lib/libc/rpc/getrpcent.c