summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/netdb.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/netdb.h b/include/netdb.h
index 33a5051..cd7fc74 100644
--- a/include/netdb.h
+++ b/include/netdb.h
@@ -63,7 +63,6 @@
#include <sys/cdefs.h>
#include <sys/_types.h>
-#include <machine/_limits.h>
#ifndef _SIZE_T_DECLARED
typedef __size_t size_t;
@@ -222,15 +221,9 @@ void endnetgrent(void);
void endprotoent(void);
void endservent(void);
void freehostent(struct hostent *);
-#if __LONG_BIT == 64
-struct hostent *gethostbyaddr(const void *, int, int);
-int gethostbyaddr_r(const void *, int, int, struct hostent *,
- char *, size_t, struct hostent **, int *);
-#else
struct hostent *gethostbyaddr(const void *, socklen_t, int);
int gethostbyaddr_r(const void *, socklen_t, int, struct hostent *,
char *, size_t, struct hostent **, int *);
-#endif
struct hostent *gethostbyname(const char *);
int gethostbyname_r(const char *, struct hostent *, char *, size_t,
struct hostent **, int *);
OpenPOWER on IntegriCloud