diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-11-18 06:17:03 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-11-18 06:17:03 -0500 |
commit | 290e19f8147d9b3c0166d3520e718ae5603e4cef (patch) | |
tree | 3c77d58f8cd8115b861809560e644699341c14ee /include/rpc/netdb.h | |
parent | 266bdc1f623fe6fe489e5115e0f8ef723705d949 (diff) |
drop support for pre ISO-C compilers
This drops __signed, __volatile, and __const. Only the latter was
used in the code base, and for uClibc, not consistently. Much of
the code used plain "const" which meant "__const" was useless.
Really, the point of this is to stay in sync with what glibc did.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/rpc/netdb.h')
-rw-r--r-- | include/rpc/netdb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rpc/netdb.h b/include/rpc/netdb.h index e9a6565ad..764b8cf1a 100644 --- a/include/rpc/netdb.h +++ b/include/rpc/netdb.h @@ -54,7 +54,7 @@ extern void setrpcent (int __stayopen) __THROW; libc_hidden_proto(setrpcent) extern void endrpcent (void) __THROW; libc_hidden_proto(endrpcent) -extern struct rpcent *getrpcbyname (__const char *__name) __THROW; +extern struct rpcent *getrpcbyname (const char *__name) __THROW; libc_hidden_proto(getrpcbyname) extern struct rpcent *getrpcbynumber (int __number) __THROW; libc_hidden_proto(getrpcbynumber) @@ -62,7 +62,7 @@ extern struct rpcent *getrpcent (void) __THROW; libc_hidden_proto(getrpcent) #if defined __USE_MISC && defined __UCLIBC_HAS_REENTRANT_RPC__ -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) __THROW; |