Skip to content

Commit 478f19d

Browse files
authored
Merge pull request rust-lang#4251 from no1wudi/main
Remove pthread_set_name_np from NuttX
2 parents d1c4062 + f4ab0b1 commit 478f19d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/unix/nuttx/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,6 @@ extern "C" {
558558
pub fn clock_gettime(clockid: clockid_t, tp: *mut timespec) -> i32;
559559
pub fn futimens(fd: i32, times: *const timespec) -> i32;
560560
pub fn pthread_condattr_setclock(attr: *mut pthread_condattr_t, clock_id: clockid_t) -> i32;
561-
pub fn pthread_set_name_np(thread: pthread_t, name: *const c_char) -> i32;
562561
pub fn pthread_setname_np(thread: pthread_t, name: *const c_char) -> i32;
563562
pub fn pthread_getname_np(thread: pthread_t, name: *mut c_char, len: usize) -> i32;
564563
pub fn getrandom(buf: *mut c_void, buflen: usize, flags: u32) -> isize;

0 commit comments

Comments
 (0)