mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
1dc869d13c
* 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.
11 lines
231 B
C
11 lines
231 B
C
#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 */
|