mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-24 07:40:52 +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
@ -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…
Reference in New Issue
Block a user