diff options
| author | John Polstra <jdp@FreeBSD.org> | 1998-09-02 00:53:17 +0000 |
|---|---|---|
| committer | John Polstra <jdp@FreeBSD.org> | 1998-09-02 00:53:17 +0000 |
| commit | cb690d1f0b2725c6a9edfc5f5f3890a610f2927c (patch) | |
| tree | 9acf25abfb92f96cd897d8d012e281017e5f87d9 /lib/libc/net/res_query.c | |
| parent | 5ca6331a4cf210f1043195bfe59d19254252e86f (diff) | |
Notes
Diffstat (limited to 'lib/libc/net/res_query.c')
| -rw-r--r-- | lib/libc/net/res_query.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/libc/net/res_query.c b/lib/libc/net/res_query.c index 4de8a0e60fd4..d7d7b28e8dea 100644 --- a/lib/libc/net/res_query.c +++ b/lib/libc/net/res_query.c @@ -71,7 +71,7 @@ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)res_query.c 8.1 (Berkeley) 6/4/93"; static char orig_rcsid = "From: Id: res_query.c,v 8.14 1997/06/09 17:47:05 halley Exp $"; -static char rcsid[] = "$Id: res_query.c,v 1.15 1997/09/01 01:19:21 brian Exp $"; +static char rcsid[] = "$Id: res_query.c,v 1.16 1998/06/11 09:03:00 peter Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -408,3 +408,14 @@ hostalias(name) fclose(fp); return (NULL); } + +/* + * Weak aliases for applications that use certain private entry points, + * and fail to include <resolv.h>. + */ +#undef res_query +__weak_reference(__res_query, res_query); +#undef res_search +__weak_reference(__res_search, res_search); +#undef res_querydomain +__weak_reference(__res_querydomain, res_querydomain); |
