11/*
2- * SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
2+ * SPDX-FileCopyrightText: 2024-2025 Espressif Systems (Shanghai) CO LTD
33 *
44 * SPDX-License-Identifier: Apache-2.0
55 */
@@ -57,7 +57,6 @@ struct syscall_stub_table
5757 int (* _write_r )(struct _reent * r , int , const void * , int );
5858 int (* _lseek_r )(struct _reent * r , int , int , int );
5959 int (* _read_r )(struct _reent * r , int , void * , int );
60- #ifdef _RETARGETABLE_LOCKING
6160 void (* _retarget_lock_init )(_LOCK_T * lock );
6261 void (* _retarget_lock_init_recursive )(_LOCK_T * lock );
6362 void (* _retarget_lock_close )(_LOCK_T lock );
@@ -68,18 +67,6 @@ struct syscall_stub_table
6867 int (* _retarget_lock_try_acquire_recursive )(_LOCK_T lock );
6968 void (* _retarget_lock_release )(_LOCK_T lock );
7069 void (* _retarget_lock_release_recursive )(_LOCK_T lock );
71- #else
72- void (* _lock_init )(_lock_t * lock );
73- void (* _lock_init_recursive )(_lock_t * lock );
74- void (* _lock_close )(_lock_t * lock );
75- void (* _lock_close_recursive )(_lock_t * lock );
76- void (* _lock_acquire )(_lock_t * lock );
77- void (* _lock_acquire_recursive )(_lock_t * lock );
78- int (* _lock_try_acquire )(_lock_t * lock );
79- int (* _lock_try_acquire_recursive )(_lock_t * lock );
80- void (* _lock_release )(_lock_t * lock );
81- void (* _lock_release_recursive )(_lock_t * lock );
82- #endif
8370 int (* _printf_float )(struct _reent * data , void * pdata , FILE * fp , int (* pfunc ) (struct _reent * , FILE * , const char * , size_t len ), va_list * ap );
8471 int (* _scanf_float ) (struct _reent * rptr , void * pdata , FILE * fp , va_list * ap );
8572 void (* __assert_func ) (const char * file , int line , const char * func , const char * failedexpr ) __attribute__((noreturn ));
0 commit comments