summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorkleink <kleink@NetBSD.org>1998-10-15 09:28:13 +0000
committerkleink <kleink@NetBSD.org>1998-10-15 09:28:13 +0000
commitb0decd2b79f1975b98152f98dde43ad4c0be62ea (patch)
tree8e1884351462c626bd0b2b96d07efcc3bff56e24 /lib/libc
parent034eedfe44a533f51e2482e2a8ca883f67e3af71 (diff)
Need an internal name for dn_expand().
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/include/namespace.h3
-rw-r--r--lib/libc/net/res_comp.c9
2 files changed, 9 insertions, 3 deletions
diff --git a/lib/libc/include/namespace.h b/lib/libc/include/namespace.h
index 4f846b7f95c..70bb2ef4111 100644
--- a/lib/libc/include/namespace.h
+++ b/lib/libc/include/namespace.h
@@ -1,4 +1,4 @@
-/* $NetBSD: namespace.h,v 1.23 1998/10/14 19:41:03 kleink Exp $ */
+/* $NetBSD: namespace.h,v 1.24 1998/10/15 09:28:13 kleink Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -116,6 +116,7 @@
#define dbopen _dbopen
#define devname _devname
#define dirname _dirname
+#define dn_expand _dn_expand
#define drand48 _drand48
#define endfsent _endfsent
#define endgrent _endgrent
diff --git a/lib/libc/net/res_comp.c b/lib/libc/net/res_comp.c
index 1db1c58b8cd..5238843c5f4 100644
--- a/lib/libc/net/res_comp.c
+++ b/lib/libc/net/res_comp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: res_comp.c,v 1.11 1998/01/06 05:01:24 perry Exp $ */
+/* $NetBSD: res_comp.c,v 1.12 1998/10/15 09:28:13 kleink Exp $ */
/*-
* Copyright (c) 1985, 1993
@@ -59,10 +59,11 @@
static char sccsid[] = "@(#)res_comp.c 8.1 (Berkeley) 6/4/93";
static char rcsid[] = "Id: res_comp.c,v 8.12 1997/06/01 20:34:37 vixie Exp ";
#else
-__RCSID("$NetBSD: res_comp.c,v 1.11 1998/01/06 05:01:24 perry Exp $");
+__RCSID("$NetBSD: res_comp.c,v 1.12 1998/10/15 09:28:13 kleink Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
+#include "namespace.h"
#include <sys/param.h>
#include <arpa/nameser.h>
#include <netinet/in.h>
@@ -72,6 +73,10 @@ __RCSID("$NetBSD: res_comp.c,v 1.11 1998/01/06 05:01:24 perry Exp $");
#include <unistd.h>
#include <string.h>
+#ifdef __weak_alias
+__weak_alias(dn_expand,_dn_expand);
+#endif
+
static int dn_find __P((u_char *, u_char *, u_char **, u_char **));
static int mklower __P((int));