From a784e502472fb3a1afa4d01a47c66b52d23e00f6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 7 Jan 2012 23:57:22 -0500 Subject: Remove pre-ISO C support No more __const. --- include/rpc/netdb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/rpc') diff --git a/include/rpc/netdb.h b/include/rpc/netdb.h index f7021e7aba..65af237e50 100644 --- a/include/rpc/netdb.h +++ b/include/rpc/netdb.h @@ -1,10 +1,10 @@ #ifndef _RPC_NETDB_H #include -extern int __getrpcbyname_r (__const char *__name, struct rpcent *__result_buf, +extern int __getrpcbyname_r (const char *__name, struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result); -extern int __old_getrpcbyname_r (__const char *__name, +extern int __old_getrpcbyname_r (const char *__name, struct rpcent *__result_buf, char *__buffer, size_t __buflen, struct rpcent **__result); -- cgit v1.2.3