From 03859cff097cd048acc43548684969ea0b3e7f7e Mon Sep 17 00:00:00 2001 From: ume Date: Tue, 21 Mar 2006 15:37:16 +0000 Subject: - Merge our local changes. - Exclude unnecessary functions for us. --- lib/libc/inet/nsap_addr.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'lib/libc/inet/nsap_addr.c') diff --git a/lib/libc/inet/nsap_addr.c b/lib/libc/inet/nsap_addr.c index a4b98e7..27d44ba 100644 --- a/lib/libc/inet/nsap_addr.c +++ b/lib/libc/inet/nsap_addr.c @@ -18,6 +18,8 @@ #if defined(LIBC_SCCS) && !defined(lint) static const char rcsid[] = "$Id: nsap_addr.c,v 1.2.206.2 2005/07/28 07:43:18 marka Exp $"; #endif /* LIBC_SCCS and not lint */ +#include +__FBSDID("$FreeBSD$"); #include "port_before.h" @@ -107,3 +109,12 @@ inet_nsap_ntoa(int binlen, const u_char *binary, char *ascii) { *ascii = '\0'; return (start); } + +/* + * Weak aliases for applications that use certain private entry points, + * and fail to include . + */ +#undef inet_nsap_addr +__weak_reference(__inet_nsap_addr, inet_nsap_addr); +#undef inet_nsap_ntoa +__weak_reference(__inet_nsap_ntoa, inet_nsap_ntoa); -- cgit v1.1