From 6b1e8b9bfe721729cbc7edffed719d0cba72a63c Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sat, 29 Jul 2023 07:12:45 +0800 Subject: [PATCH] include/nuttx/tls.h: Remove the dup typedef tls_dtor_t Signed-off-by: Xiang Xiao --- include/nuttx/tls.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/nuttx/tls.h b/include/nuttx/tls.h index b9e0a2bf92..dfcef94cb9 100644 --- a/include/nuttx/tls.h +++ b/include/nuttx/tls.h @@ -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(). */