Skip to content

Commit

Permalink
use *const pointer for NetBSD's pthread_setname_np
Browse files Browse the repository at this point in the history
  • Loading branch information
tesuji committed Nov 28, 2019
1 parent 581ba35 commit f851312
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 @@ -1680,7 +1680,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 f851312

Please sign in to comment.