summaryrefslogtreecommitdiff
path: root/lib/libc/include
diff options
context:
space:
mode:
authorminoura <minoura@NetBSD.org>2000-04-02 15:35:47 +0000
committerminoura <minoura@NetBSD.org>2000-04-02 15:35:47 +0000
commit78b105698a8526efe02fced5859f0a91cd33ed68 (patch)
tree68ebddb2adfb78d13e7da02f4c0791f63b04bf37 /lib/libc/include
parentb18b370715b57bcf6e9060db76b4fde01ef28615 (diff)
Move dl* function definitions to libc on ELF.
Based on the patch supplied by Takuya Shiozaki <tshiozak@astec.co.jp>. See http://mail-index.netbsd.org/tech-userlevel/2000/02/23/0000.html.
Diffstat (limited to 'lib/libc/include')
-rw-r--r--lib/libc/include/namespace.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/include/namespace.h b/lib/libc/include/namespace.h
index 16e104bbd86..557124715b8 100644
--- a/lib/libc/include/namespace.h
+++ b/lib/libc/include/namespace.h
@@ -1,4 +1,4 @@
-/* $NetBSD: namespace.h,v 1.46 2000/03/08 20:17:19 kleink Exp $ */
+/* $NetBSD: namespace.h,v 1.47 2000/04/02 15:35:48 minoura Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -502,6 +502,11 @@
#define yp_unbind _yp_unbind
#define yperr_string _yperr_string
#define ypprot_err _ypprot_err
+#define dlopen __dlopen
+#define dlclose __dlclose
+#define dlsym __dlsym
+#define dlerror __dlerror
+#define dladdr __dladdr
#endif
#endif