tls: fix conflicting types for 'up_tls_initialize' compilation problem

Signed-off-by: sheyunhu <sheyunhu@xiaomi.com>
This commit is contained in:
sheyunhu 2022-08-04 10:36:43 +08:00 committed by Petro Karashchenko
parent 33efeeeafd
commit a623b5f31e
1 changed files with 1 additions and 0 deletions

View File

@ -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)