From: Ben Gras Date: Thu, 24 Jan 2013 21:52:48 +0000 (+0000) Subject: getifaddrs: add un-namespaced alias X-Git-Tag: v3.2.1~75 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=8ebdbed79c27f998e7d28b5a4915e787897d9dc4;p=minix.git getifaddrs: add un-namespaced alias . needed for security/heimdal, needed for git Change-Id: I8638945dffd0abffd487c47281ad7616da1b70db --- diff --git a/lib/libc/net/minix/getifaddrs.c b/lib/libc/net/minix/getifaddrs.c index 62caae058..a1ccae88a 100644 --- a/lib/libc/net/minix/getifaddrs.c +++ b/lib/libc/net/minix/getifaddrs.c @@ -18,6 +18,11 @@ #include #include +#if defined(__weak_alias) +__weak_alias(getifaddrs,_getifaddrs) +__weak_alias(freeifaddrs,_freeifaddrs) +#endif + int getifaddrs(struct ifaddrs **ifap) {