diff options
author | ume <ume@FreeBSD.org> | 2006-03-21 15:37:16 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2006-03-21 15:37:16 +0000 |
commit | 03859cff097cd048acc43548684969ea0b3e7f7e (patch) | |
tree | 6a044a277848f8d42cf8a314d701efea03241963 /lib/libc/inet/nsap_addr.c | |
parent | 92fc9582cfae8294317ce04ae7e2d14f94dd3ca8 (diff) | |
download | FreeBSD-src-03859cff097cd048acc43548684969ea0b3e7f7e.zip FreeBSD-src-03859cff097cd048acc43548684969ea0b3e7f7e.tar.gz |
- Merge our local changes.
- Exclude unnecessary functions for us.
Diffstat (limited to 'lib/libc/inet/nsap_addr.c')
-rw-r--r-- | lib/libc/inet/nsap_addr.c | 11 |
1 files changed, 11 insertions, 0 deletions
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 <sys/cdefs.h> +__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 <arpa/inet.h>. + */ +#undef inet_nsap_addr +__weak_reference(__inet_nsap_addr, inet_nsap_addr); +#undef inet_nsap_ntoa +__weak_reference(__inet_nsap_ntoa, inet_nsap_ntoa); |