Skip to content

Commit 97f58c3

Browse files
committed
Remove unused FFI function.
1 parent 1976af4 commit 97f58c3

File tree

1 file changed

+0
-2
lines changed
  • src/libstd/sys/unix/freertos

1 file changed

+0
-2
lines changed

src/libstd/sys/unix/freertos/ffi.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ pub type TaskHandle_t = *mut libc::c_void;
77
pub type QueueHandle_t = *mut libc::c_void;
88
pub type SemaphoreHandle_t = QueueHandle_t;
99
pub type TaskFunction_t = extern "C" fn(*mut libc::c_void) -> *mut libc::c_void;
10-
pub type TlsDeleteCallbackFunction_t = unsafe extern "C" fn(libc::c_int, *mut libc::c_void);
1110

1211
pub const queueQUEUE_TYPE_MUTEX: u8 = 1;
1312
pub const queueQUEUE_TYPE_RECURSIVE_MUTEX: u8 = 4;
@@ -66,7 +65,6 @@ extern "C" {
6665
) -> BaseType_t;
6766
pub fn pvTaskGetThreadLocalStoragePointer(xTaskToQuery: TaskHandle_t, xIndex: BaseType_t) -> *mut libc::c_void;
6867
pub fn vTaskSetThreadLocalStoragePointer(xTaskToQuery: TaskHandle_t, xIndex: BaseType_t, pvValue: *mut libc::c_void);
69-
pub fn vTaskSetThreadLocalStoragePointerAndDelCallback(xTaskToQuery: TaskHandle_t, xIndex: BaseType_t, pvValue: *mut libc::c_void, xDelCallback: TlsDeleteCallbackFunction_t);
7068
}
7169

7270
#[cfg(target_device = "esp32")]

0 commit comments

Comments
 (0)