Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify QNX NTO dl_iterate_phdr to take * mut #3792

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/unix/nto/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3340,7 +3340,10 @@ extern "C" {
pub fn dl_iterate_phdr(
callback: ::Option<
unsafe extern "C" fn(
info: *const dl_phdr_info,
// The original .h file declares this as *const, but for consistency with other platforms,
// changing this to *mut to make it easier to use.
// Maybe in v0.3 all platforms should use this as a *const.
info: *mut dl_phdr_info,
size: ::size_t,
data: *mut ::c_void,
) -> ::c_int,
Expand Down