summaryrefslogtreecommitdiff
path: root/ldso/ldso
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-09-18 14:14:56 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2005-09-18 14:14:56 +0000
commit50adcf84a2bd24ad9aa3fa87e368007d02a5102d (patch)
treea9c3bd6a465d69d4e3d87a7fa3ab564ff1889357 /ldso/ldso
parentaa10bfef77aad39cf9c0ab78f28907e25f5786cb (diff)
Remove unused function.
Diffstat (limited to 'ldso/ldso')
-rw-r--r--ldso/ldso/dl-hash.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/ldso/ldso/dl-hash.c b/ldso/ldso/dl-hash.c
index 188b2917a..2247207a6 100644
--- a/ldso/ldso/dl-hash.c
+++ b/ldso/ldso/dl-hash.c
@@ -77,21 +77,6 @@ static inline Elf_Symndx _dl_elf_hash(const char *name)
return hash;
}
-/* Check to see if a library has already been added to the hash chain. */
-struct elf_resolve *_dl_check_hashed_files(const char *libname)
-{
- struct elf_resolve *tpnt;
- int len = _dl_strlen(libname);
-
- for (tpnt = _dl_loaded_modules; tpnt; tpnt = tpnt->next) {
- if (_dl_strncmp(tpnt->libname, libname, len) == 0 &&
- (tpnt->libname[len] == '\0' || tpnt->libname[len] == '.'))
- return tpnt;
- }
-
- return NULL;
-}
-
/*
* We call this function when we have just read an ELF library or executable.
* We add the relevant info to the symbol chain, so that we can resolve all