mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
resolv: Move __res_get_nsaddr to its own file and into libc
Eliminate the use of the EXT macro from it because it does not add clarity. The function was added to res_send.c in 2015, and the copyright year reflects that. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
@@ -103,4 +103,10 @@ void __res_thread_freeres (void) attribute_hidden;
|
||||
success, -1 on failure. */
|
||||
int __res_enable_icmp (int family, int fd) attribute_hidden;
|
||||
|
||||
|
||||
/* Returns the name server address for the indicated index. */
|
||||
struct sockaddr *__res_get_nsaddr (res_state statp, unsigned int n);
|
||||
libc_hidden_proto (__res_get_nsaddr)
|
||||
|
||||
|
||||
#endif /* _RESOLV_INTERNAL_H */
|
||||
|
Reference in New Issue
Block a user