mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-14 13:00:20 +00:00
gethosts: Remove unused argument _type
The generated code is unchanged.
This commit is contained in:
parent
df183287ff
commit
b17e842a60
@ -239,7 +239,7 @@ convert_hostent_to_gaih_addrtuple (const struct addrinfo *req,
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define gethosts(_family, _type) \
|
#define gethosts(_family) \
|
||||||
{ \
|
{ \
|
||||||
struct hostent th; \
|
struct hostent th; \
|
||||||
char *localcanon = NULL; \
|
char *localcanon = NULL; \
|
||||||
@ -829,7 +829,7 @@ gaih_inet (const char *name, const struct gaih_service *service,
|
|||||||
if (req->ai_family == AF_INET6
|
if (req->ai_family == AF_INET6
|
||||||
|| req->ai_family == AF_UNSPEC)
|
|| req->ai_family == AF_UNSPEC)
|
||||||
{
|
{
|
||||||
gethosts (AF_INET6, struct in6_addr);
|
gethosts (AF_INET6);
|
||||||
no_inet6_data = no_data;
|
no_inet6_data = no_data;
|
||||||
inet6_status = status;
|
inet6_status = status;
|
||||||
}
|
}
|
||||||
@ -841,7 +841,7 @@ gaih_inet (const char *name, const struct gaih_service *service,
|
|||||||
know we are not going to need them. */
|
know we are not going to need them. */
|
||||||
&& ((req->ai_flags & AI_ALL) || !got_ipv6)))
|
&& ((req->ai_flags & AI_ALL) || !got_ipv6)))
|
||||||
{
|
{
|
||||||
gethosts (AF_INET, struct in_addr);
|
gethosts (AF_INET);
|
||||||
|
|
||||||
if (req->ai_family == AF_INET)
|
if (req->ai_family == AF_INET)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user