mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
_dl_iterate_phdr_locked(): fix libc and libdl
Add prototype. Export from libdl.
Fixes: 1426fd6cff
Reviewed by: kevans
Sponsored by: The FreeBSD Foundation
Differential revision: https://reviews.freebsd.org/D47563
This commit is contained in:
parent
3cc3d71efe
commit
209fd89a28
2 changed files with 6 additions and 0 deletions
|
|
@ -204,6 +204,8 @@ dl_init_phdr_info(void)
|
|||
#endif
|
||||
|
||||
#pragma weak _dl_iterate_phdr_locked
|
||||
int _dl_iterate_phdr_locked(int (*callback)(struct dl_phdr_info *,
|
||||
size_t, void *), void *data);
|
||||
int
|
||||
_dl_iterate_phdr_locked(
|
||||
int (*callback)(struct dl_phdr_info *, size_t, void *) __unused,
|
||||
|
|
|
|||
|
|
@ -22,3 +22,7 @@ FBSD_1.8 {
|
|||
rtld_get_var;
|
||||
rtld_set_var;
|
||||
};
|
||||
|
||||
FBSDprivate_1.0 {
|
||||
_dl_iterate_phdr_locked;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue