gaih_inet: split loopback lookup into its own function
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 7 Mar 2022 14:54:37 +0000 (20:24 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Tue, 22 Mar 2022 14:09:44 +0000 (19:39 +0530)
commit657472b2a50f67b12e5bbe5827582c9c2bb82dc3
tree341a04f02925f61bd6bd768741f18d9db43b7d8f
parentcfa3bd48cb19a70e4367a9978dbba09d9df27a72
gaih_inet: split loopback lookup into its own function

Flatten the condition nesting and replace the alloca for RET.AT/ATR with
a single array LOCAL_AT[2].  This gets rid of alloca and alloca
accounting.

`git diff -b` is probably the best way to view this change since much of
the diff is whitespace changes.

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