diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-28 19:06:15 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2018-01-28 19:06:15 +0100 |
commit | 7c5b106dcbb10cf383ade30de14260f23a6ecfba (patch) | |
tree | 1e4bd005c815802e3c1b492584bd08806efa9bd4 /sysdeps | |
parent | 28f6186f3e065ee9d46476e8e9f06135482ae17b (diff) | |
download | glibc-7c5b106dcbb10cf383ade30de14260f23a6ecfba.zip glibc-7c5b106dcbb10cf383ade30de14260f23a6ecfba.tar.gz glibc-7c5b106dcbb10cf383ade30de14260f23a6ecfba.tar.bz2 |
hurd: Fix getifaddrs / freeifaddrs exposition
400669754de4 ('hurd: Fix nscd build') had the side effect of making
libc's freeaddrinfo expose freeifaddrs through __check_pf. We can just
move the renames to gai.c itself, along others.
* sysdeps/mach/hurd/check_pf.c (__getifaddrs, __freeifaddrs): Do not
define macros.
* nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
(__freeifaddrs): Define macro to freeifaddrs.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/mach/hurd/check_pf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/check_pf.c b/sysdeps/mach/hurd/check_pf.c index 32cc283..edd99a7 100644 --- a/sysdeps/mach/hurd/check_pf.c +++ b/sysdeps/mach/hurd/check_pf.c @@ -1,3 +1 @@ -#define __getifaddrs getifaddrs -#define __freeifaddrs freeifaddrs #include <inet/check_pf.c> |