Ver Fonte

Guard the reentrant prototypes w/ appropiate config option

Peter S. Mazinger há 18 anos atrás
pai
commit
3f86681211
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      include/rpc/netdb.h

+ 1 - 1
include/rpc/netdb.h

@@ -56,7 +56,7 @@ extern struct rpcent *getrpcbyname (__const char *__name) __THROW;
 extern struct rpcent *getrpcbynumber (int __number) __THROW;
 extern struct rpcent *getrpcent (void) __THROW;
 
-#ifdef __USE_MISC
+#if defined __USE_MISC && defined __UCLIBC_HAS_REENTRANT_RPC__
 extern int getrpcbyname_r (__const char *__name, struct rpcent *__result_buf,
 			   char *__buffer, size_t __buflen,
 			   struct rpcent **__result) __THROW;