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
|
@ -1852,6 +1852,7 @@ int up_tls_size(void);
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifdef CONFIG_SCHED_THREAD_LOCAL
|
#ifdef CONFIG_SCHED_THREAD_LOCAL
|
||||||
|
struct tls_info_s;
|
||||||
void up_tls_initialize(FAR struct tls_info_s *info);
|
void up_tls_initialize(FAR struct tls_info_s *info);
|
||||||
#else
|
#else
|
||||||
#define up_tls_initialize(x)
|
#define up_tls_initialize(x)
|
||||||
|
|
Loading…
Reference in New Issue