diff options
author | jdp <jdp@FreeBSD.org> | 1999-04-22 01:54:38 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1999-04-22 01:54:38 +0000 |
commit | e206feb881b2449b788dd08966c4ee32cea05638 (patch) | |
tree | 45bafe2cb0f8177c8537709569f2cc035a17520a /libexec | |
parent | 6b5c8c5794b0df9b362ef8854662a2fb79770d5d (diff) | |
download | FreeBSD-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 'libexec')
-rw-r--r-- | libexec/rtld-elf/rtld.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index 5ac7fcd..0261c3f 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -22,7 +22,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: rtld.c,v 1.21 1999/04/09 06:42:00 jdp Exp $ + * $Id: rtld.c,v 1.22 1999/04/21 04:06:57 jdp Exp $ */ /* @@ -52,14 +52,6 @@ #include "rtld.h" /* - * Version number queried by dlversion(). The first 3 digits represent - * the base FreeBSD release. The last 3 digits are a serial number. - * Increase this when you fix a significant bug or add a significant - * feature. - */ -#define DL_VERSION 400001 - -/* * Debugging support. */ @@ -141,7 +133,6 @@ static func_ptr_type exports[] = { (func_ptr_type) &dlopen, (func_ptr_type) &dlsym, (func_ptr_type) &dladdr, - (func_ptr_type) &dlversion, NULL }; @@ -1249,12 +1240,6 @@ dlsym(void *handle, const char *name) } int -dlversion(void) -{ - return DL_VERSION; -} - -int dladdr(const void *addr, Dl_info *info) { const Obj_Entry *obj; |