Skip to content

Commit f851312

Browse files
committed
use *const pointer for NetBSD's pthread_setname_np
1 parent 581ba35 commit f851312

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
@@ -1680,7 +1680,7 @@ extern "C" {
16801680
pub fn pthread_setname_np(
16811681
t: ::pthread_t,
16821682
name: *const ::c_char,
1683-
arg: *mut ::c_void,
1683+
arg: *const ::c_void,
16841684
) -> ::c_int;
16851685
pub fn pthread_attr_get_np(
16861686
thread: ::pthread_t,

0 commit comments

Comments
 (0)