From 7c5b106dcbb10cf383ade30de14260f23a6ecfba Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 28 Jan 2018 19:06:15 +0100 Subject: 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. --- sysdeps/mach/hurd/check_pf.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/mach/hurd/check_pf.c b/sysdeps/mach/hurd/check_pf.c index 32cc28340b..edd99a7278 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 -- cgit v1.2.3