about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-06-10 08:58:05 +0000
committerUlrich Drepper <drepper@redhat.com>2003-06-10 08:58:05 +0000
commit1dc869d13c77297661bf7ba4bde4c879818149da (patch)
tree286fc8327a3a4fdc742d90b8ca8bd278f3616b8d /include
parent06120d793a3ae31f8f510f220c8a0a8e23b6a177 (diff)
downloadglibc-1dc869d13c77297661bf7ba4bde4c879818149da.tar.gz
glibc-1dc869d13c77297661bf7ba4bde4c879818149da.tar.xz
glibc-1dc869d13c77297661bf7ba4bde4c879818149da.zip
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.
Diffstat (limited to 'include')
-rw-r--r--include/ifaddrs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ifaddrs.h b/include/ifaddrs.h
index 294cd0d932..aa20c35101 100644
--- a/include/ifaddrs.h
+++ b/include/ifaddrs.h
@@ -1,7 +1,10 @@
 #ifndef _IFADDRS_H
 #include <inet/ifaddrs.h>
+#include <stdbool.h>
 
 libc_hidden_proto (getifaddrs)
 libc_hidden_proto (freeifaddrs)
 
+extern void __check_pf (bool *seen_ipv4, bool *seen_ipv6) attribute_hidden;
+
 #endif	/* ifaddrs.h */