Skip to content

Commit ea0a54a

Browse files
committed
Auto merge of #1608 - lzutao:netbsd-mut-pthread_setname_np, r=gnzlbg
use *const pointer for NetBSD's pthread_setname_np
2 parents cfd561c + f851312 commit ea0a54a

File tree

1 file changed

+1
-1
lines changed
  • src/unix/bsd/netbsdlike/netbsd

1 file changed

+1
-1
lines changed

src/unix/bsd/netbsdlike/netbsd/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1824,7 +1824,7 @@ extern "C" {
18241824
pub fn pthread_setname_np(
18251825
t: ::pthread_t,
18261826
name: *const ::c_char,
1827-
arg: *mut ::c_void,
1827+
arg: *const ::c_void,
18281828
) -> ::c_int;
18291829
pub fn pthread_attr_get_np(
18301830
thread: ::pthread_t,

0 commit comments

Comments
 (0)