include/nuttx/tls.h: Remove the dup typedef tls_dtor_t

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-07-29 07:12:45 +08:00 committed by Petro Karashchenko
parent 339fc96f1f
commit 6b1e8b9bfe

View File

@ -79,10 +79,6 @@ extern "C"
* TLS data indexes.
*/
#if CONFIG_TLS_NELEM > 0
typedef CODE void (*tls_dtor_t)(FAR void *);
#endif
typedef CODE void (*tls_dtor_t)(FAR void *);
/* This structure encapsulates all variables associated with getopt(). */