... | ... |
@@ -331,10 +331,6 @@ const char *w32_inet_ntop(int af, const void *src, char *dst, socklen_t size) { |
331 | 331 |
return ret; |
332 | 332 |
} |
333 | 333 |
|
334 |
-struct hostent *w32_gethostbyname(const char *name) { |
|
335 |
- return gethostbyname(name); |
|
336 |
-} |
|
337 |
- |
|
338 | 334 |
int w32_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) { |
339 | 335 |
int ret = select(nfds, readfds, writefds, exceptfds, timeout); |
340 | 336 |
if(ret == SOCKET_ERROR) { |
... | ... |
@@ -41,7 +41,6 @@ struct servent *w32_getservbyname(const char *name, const char *proto); |
41 | 41 |
int w32_getaddrinfo(const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res); |
42 | 42 |
void w32_freeaddrinfo(struct addrinfo *res); |
43 | 43 |
const char *w32_inet_ntop(int af, const void *src, char *dst, socklen_t size); |
44 |
-struct hostent *w32_gethostbyname(const char *name); |
|
45 | 44 |
int w32_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout); |
46 | 45 |
int poll_with_event(struct pollfd *fds, int nfds, int timeout, HANDLE event); |
47 | 46 |
int w32_accept(SOCKET sockfd, const struct sockaddr *addr, socklen_t *addrlen); |
... | ... |
@@ -243,7 +243,6 @@ EXPORTS w32_getservbyname @44332 NONAME |
243 | 243 |
EXPORTS w32_getaddrinfo @44333 NONAME |
244 | 244 |
EXPORTS w32_freeaddrinfo @44334 NONAME |
245 | 245 |
EXPORTS w32_inet_ntop @44335 NONAME |
246 |
-EXPORTS w32_gethostbyname @44336 NONAME |
|
247 | 246 |
EXPORTS w32_select @44337 NONAME |
248 | 247 |
EXPORTS poll_with_event @44338 NONAME |
249 | 248 |
EXPORTS w32_stat @44339 NONAME |
... | ... |
@@ -68,7 +68,6 @@ char *strptime(const char *s, const char *format, struct tm *tm); |
68 | 68 |
#define inet_ntop w32_inet_ntop |
69 | 69 |
#define inet_ntoa w32_inet_ntoa |
70 | 70 |
#define getpeername w32_getpeername |
71 |
-#define gethostbyname w32_gethostbyname |
|
72 | 71 |
#define select w32_select |
73 | 72 |
#define poll w32_poll |
74 | 73 |
#define strerror w32_strerror |