From 1dc869d13c77297661bf7ba4bde4c879818149da Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 10 Jun 2003 08:58:05 +0000 Subject: Update. * inet/Makefile (aux): Add check_fd. * include/ifaddrs.h: Add prototype for __check_fd. * sysdeps/generic/check_fd.c: New file. * sysdeps/unix/sysv/linux/check_fd.c: New file. * sysdeps/unix/sysv/linux/ifaddrs.h (__no_netlink_support): Renamed from no_netlink_support. Export. * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call getifaddrs, call __check_pf. * sysdeps/generic/ifaddrs.h: Add libc_hidden_def. --- include/ifaddrs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/ifaddrs.h') diff --git a/include/ifaddrs.h b/include/ifaddrs.h index 294cd0d..aa20c35 100644 --- a/include/ifaddrs.h +++ b/include/ifaddrs.h @@ -1,7 +1,10 @@ #ifndef _IFADDRS_H #include +#include libc_hidden_proto (getifaddrs) libc_hidden_proto (freeifaddrs) +extern void __check_pf (bool *seen_ipv4, bool *seen_ipv6) attribute_hidden; + #endif /* ifaddrs.h */ -- cgit v1.1