aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-fini.c
diff options
context:
space:
mode:
authorMarek Polacek <mpolacek@redhat.com>2011-07-19 20:27:43 -0400
committerUlrich Drepper <drepper@gmail.com>2011-07-19 20:27:43 -0400
commitc8835729b8a4a862e70213e00b0751e1b19d3f9d (patch)
tree0cb3739060ed83de297f93099ac302ded5cf55d9 /elf/dl-fini.c
parent8991e135f7cc0f9e9c11860e570516f5d5b581dc (diff)
downloadglibc-c8835729b8a4a862e70213e00b0751e1b19d3f9d.tar
glibc-c8835729b8a4a862e70213e00b0751e1b19d3f9d.tar.gz
glibc-c8835729b8a4a862e70213e00b0751e1b19d3f9d.tar.bz2
glibc-c8835729b8a4a862e70213e00b0751e1b19d3f9d.zip
_dl_sort_fini: Remove unused argument
Diffstat (limited to 'elf/dl-fini.c')
-rw-r--r--elf/dl-fini.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/elf/dl-fini.c b/elf/dl-fini.c
index 269bcece4c..0a138e9126 100644
--- a/elf/dl-fini.c
+++ b/elf/dl-fini.c
@@ -30,8 +30,7 @@ typedef void (*fini_t) (void);
void
internal_function
-_dl_sort_fini (struct link_map *l, struct link_map **maps, size_t nmaps,
- char *used, Lmid_t ns)
+_dl_sort_fini (struct link_map **maps, size_t nmaps, char *used, Lmid_t ns)
{
/* A list of one element need not be sorted. */
if (nmaps == 1)
@@ -199,7 +198,7 @@ _dl_fini (void)
nmaps = i;
/* Now we have to do the sorting. */
- _dl_sort_fini (GL(dl_ns)[ns]._ns_loaded, maps, nmaps, NULL, ns);
+ _dl_sort_fini (maps, nmaps, NULL, ns);
/* We do not rely on the linked list of loaded object anymore from
this point on. We have our own list here (maps). The various