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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user