gaih_inet: make gethosts into a function
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 7 Mar 2022 14:18:48 +0000 (19:48 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 22 Mar 2022 14:09:42 +0000 (19:39 +0530)
commitcfa3bd48cb19a70e4367a9978dbba09d9df27a72
tree11aa1753b0525ae628b7e2f3b2b65a90837adf2b
parent906cecbe0889e601c91d9aba738049c73ebe4dd2
gaih_inet: make gethosts into a function

The macro is quite a pain to debug, so make gethosts into a function to
make it easier to maintain.

Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: DJ Delorie <dj@redhat.com>
sysdeps/posix/getaddrinfo.c