mirror of
https://github.com/apache/nuttx.git
synced 2026-08-29 21:30:44 +00:00
tls: fix conflicting types for 'up_tls_initialize' compilation problem
Signed-off-by: sheyunhu <sheyunhu@xiaomi.com>
This commit is contained in:
parent
33efeeeafd
commit
a623b5f31e
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue