diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2017-12-20 11:27:51 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2017-12-27 22:12:51 +0000 |
commit | 2bd86632b7cb97dc9002a23795e140fc880e1987 (patch) | |
tree | d85631a92d8c269b7ecc09a172a1a32c1ae28fb0 /elf/dl-dst.h | |
parent | 1c36e1e6a5b9b6f9ad1c67f5d43383afb4d80339 (diff) | |
download | glibc-2bd86632b7cb97dc9002a23795e140fc880e1987.tar glibc-2bd86632b7cb97dc9002a23795e140fc880e1987.tar.gz glibc-2bd86632b7cb97dc9002a23795e140fc880e1987.tar.bz2 glibc-2bd86632b7cb97dc9002a23795e140fc880e1987.zip |
elf: remove redundant is_path argument
is_path argument is no longer used and could be safely removed.
* elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
updated.
* elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
expand_dynamic_string_token): Likewise.
* sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
is_path argument.
Diffstat (limited to 'elf/dl-dst.h')
-rw-r--r-- | elf/dl-dst.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-dst.h b/elf/dl-dst.h index a96513d4dc..3d2c667913 100644 --- a/elf/dl-dst.h +++ b/elf/dl-dst.h @@ -20,13 +20,13 @@ /* Determine the number of DST elements in the name. Only if IS_PATH is nonzero paths are recognized (i.e., multiple, ':' separated filenames). */ -#define DL_DST_COUNT(name, is_path) \ +#define DL_DST_COUNT(name) \ ({ \ size_t __cnt = 0; \ const char *__sf = strchr (name, '$'); \ \ if (__glibc_unlikely (__sf != NULL)) \ - __cnt = _dl_dst_count (__sf, is_path); \ + __cnt = _dl_dst_count (__sf); \ \ __cnt; }) |