Skip to content

Commit

Permalink
Auto merge of #1608 - lzutao:netbsd-mut-pthread_setname_np, r=gnzlbg
Browse files Browse the repository at this point in the history
use *const pointer for NetBSD's pthread_setname_np
  • Loading branch information
bors committed Nov 29, 2019
2 parents cfd561c + f851312 commit ea0a54a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/bsd/netbsdlike/netbsd/mod.rs
Expand Up @@ -1824,7 +1824,7 @@ extern "C" {
pub fn pthread_setname_np(
t: ::pthread_t,
name: *const ::c_char,
arg: *mut ::c_void,
arg: *const ::c_void,
) -> ::c_int;
pub fn pthread_attr_get_np(
thread: ::pthread_t,
Expand Down

0 comments on commit ea0a54a

Please sign in to comment.