mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
_dl_sort_fini: Remove unused argument
This commit is contained in:
committed by
Ulrich Drepper
parent
8991e135f7
commit
c8835729b8
@@ -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
|
||||
|
Reference in New Issue
Block a user