summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/dlfcn.c
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1999-04-22 01:54:38 +0000
committerjdp <jdp@FreeBSD.org>1999-04-22 01:54:38 +0000
commite206feb881b2449b788dd08966c4ee32cea05638 (patch)
tree45bafe2cb0f8177c8537709569f2cc035a17520a /lib/libc/gen/dlfcn.c
parent6b5c8c5794b0df9b362ef8854662a2fb79770d5d (diff)
downloadFreeBSD-src-e206feb881b2449b788dd08966c4ee32cea05638.zip
FreeBSD-src-e206feb881b2449b788dd08966c4ee32cea05638.tar.gz
Back out my change from 6 April PDT that added a new dlversion()
function. It was an ill-considered feature. It didn't solve the problem I wanted it to solve. And it added Yet Another Version Number that would have to be maintained at every release point. I'm nuking it now before anybody grows too fond of it.
Diffstat (limited to 'lib/libc/gen/dlfcn.c')
-rw-r--r--lib/libc/gen/dlfcn.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/libc/gen/dlfcn.c b/lib/libc/gen/dlfcn.c
index 38b9553..d684fd9 100644
--- a/lib/libc/gen/dlfcn.c
+++ b/lib/libc/gen/dlfcn.c
@@ -94,14 +94,6 @@ dlsym(void *handle, const char *name)
return NULL;
}
-#pragma weak dlversion
-int
-dlversion(void)
-{
- _rtld_error(sorry);
- return 0;
-}
-
#else /* a.out format */
#include <sys/types.h>
@@ -173,11 +165,4 @@ dlsym(void *handle, const char *name)
return (__ldso_entry->dlsym)(handle, name);
}
-/* We don't support dlversion() on a.out systems. */
-int
-dlversion(void)
-{
- return 0;
-}
-
#endif /* __ELF__ */
OpenPOWER on IntegriCloud