summaryrefslogtreecommitdiffstats
path: root/include/rpc/rpcent.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rpc/rpcent.h')
-rw-r--r--include/rpc/rpcent.h2
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);
OpenPOWER on IntegriCloud