mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
tls: fix conflicting types for 'up_tls_initialize' compilation problem
Signed-off-by: sheyunhu <sheyunhu@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
33efeeeafd
commit
a623b5f31e
@@ -1852,6 +1852,7 @@ int up_tls_size(void);
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef CONFIG_SCHED_THREAD_LOCAL
|
||||
struct tls_info_s;
|
||||
void up_tls_initialize(FAR struct tls_info_s *info);
|
||||
#else
|
||||
#define up_tls_initialize(x)
|
||||
|
||||
Reference in New Issue
Block a user