summaryrefslogtreecommitdiff
path: root/libexec/ld.so/library_subr.c
diff options
context:
space:
mode:
authorKurt Miller <kurt@cvs.openbsd.org>2005-10-07 01:26:35 +0000
committerKurt Miller <kurt@cvs.openbsd.org>2005-10-07 01:26:35 +0000
commitaa170d084cf70db12f62cc93e74d4a3b9fe03f88 (patch)
tree6b494aafe45d11f3276f1f9e6f317c3e505d7f45 /libexec/ld.so/library_subr.c
parentc14f913604e521b3c6f7a31a8045fd26cbf65dbc (diff)
rename dload_list to grpsym_list which better represents its usage.
Diffstat (limited to 'libexec/ld.so/library_subr.c')
-rw-r--r--libexec/ld.so/library_subr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/ld.so/library_subr.c b/libexec/ld.so/library_subr.c
index 3f06ce01f4d..0cbb3b8e92c 100644
--- a/libexec/ld.so/library_subr.c
+++ b/libexec/ld.so/library_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: library_subr.c,v 1.17 2005/10/06 21:53:10 kurt Exp $ */
+/* $OpenBSD: library_subr.c,v 1.18 2005/10/07 01:26:34 kurt Exp $ */
/*
* Copyright (c) 2002 Dale Rahn
@@ -357,7 +357,7 @@ _dl_notify_unload_shlib(elf_object_t *object)
struct dep_node *n;
if (object->opencount + object->grprefcount == 0) {
- TAILQ_FOREACH(n, &object->dload_list, next_sib) {
+ TAILQ_FOREACH(n, &object->grpsym_list, next_sib) {
if (n->data == object)
continue;
n->data->refcount--;
@@ -415,7 +415,7 @@ _dl_link_sub(elf_object_t *dep, elf_object_t *p)
* and we only want to deal with each one once, check for dups
* before adding new, dup libs will have the same dep pointer.
*/
- TAILQ_FOREACH(n, &_dl_loading_object->dload_list, next_sib)
+ TAILQ_FOREACH(n, &_dl_loading_object->grpsym_list, next_sib)
if (n->data == dep)
return; /* found, dont bother adding */
@@ -423,7 +423,7 @@ _dl_link_sub(elf_object_t *dep, elf_object_t *p)
if (n == NULL)
_dl_exit(8);
n->data = dep;
- TAILQ_INSERT_TAIL(&_dl_loading_object->dload_list, n, next_sib);
+ TAILQ_INSERT_TAIL(&_dl_loading_object->grpsym_list, n, next_sib);
dep->refcount++;
DL_DEB(("linking dep %s as child of %s\n", dep->load_name,