public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Siddhesh Poyarekar <siddhesh@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc] gethosts: Remove unused argument _type Date: Tue, 3 Aug 2021 20:55:32 +0000 (GMT) [thread overview] Message-ID: <20210803205532.E3D3A3858C27@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b17e842a60819098d2a203ecc8b8371b7e1d6c65 commit b17e842a60819098d2a203ecc8b8371b7e1d6c65 Author: Siddhesh Poyarekar <siddhesh@sourceware.org> Date: Wed Aug 4 02:21:01 2021 +0530 gethosts: Remove unused argument _type The generated code is unchanged. Diff: --- sysdeps/posix/getaddrinfo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c index 43dfc6739e..9f1cde27b5 100644 --- a/sysdeps/posix/getaddrinfo.c +++ b/sysdeps/posix/getaddrinfo.c @@ -239,7 +239,7 @@ convert_hostent_to_gaih_addrtuple (const struct addrinfo *req, return true; } -#define gethosts(_family, _type) \ +#define gethosts(_family) \ { \ struct hostent th; \ char *localcanon = NULL; \ @@ -829,7 +829,7 @@ gaih_inet (const char *name, const struct gaih_service *service, if (req->ai_family == AF_INET6 || req->ai_family == AF_UNSPEC) { - gethosts (AF_INET6, struct in6_addr); + gethosts (AF_INET6); no_inet6_data = no_data; 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. */ && ((req->ai_flags & AI_ALL) || !got_ipv6))) { - gethosts (AF_INET, struct in_addr); + gethosts (AF_INET); if (req->ai_family == AF_INET) {
reply other threads:[~2021-08-03 20:55 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20210803205532.E3D3A3858C27@sourceware.org \ --to=siddhesh@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).