This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new a3da45e1dc7 libc/tls: update preprocessor condition comment to match
implementation
a3da45e1dc7 is described below
commit a3da45e1dc792dc063354be9c36156e94869c48b
Author: hujun5 <[email protected]>
AuthorDate: Fri Jan 30 20:24:08 2026 +0800
libc/tls: update preprocessor condition comment to match implementation
Update the closing preprocessor comment in tls_getinfo.c to accurately
reflect
the simplified conditional compilation check. The comment now correctly
represents
the actual guard condition used for the tls_get_info function
implementation.
Signed-off-by: hujun5 <[email protected]>
---
libs/libc/tls/tls_getinfo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/libc/tls/tls_getinfo.c b/libs/libc/tls/tls_getinfo.c
index 9d92c976d0a..206ea9b0f40 100644
--- a/libs/libc/tls/tls_getinfo.c
+++ b/libs/libc/tls/tls_getinfo.c
@@ -75,4 +75,4 @@ FAR struct tls_info_s *tls_get_info(void)
return info;
}
-#endif /* !defined(up_tls_info) && (defined(__KERNEL__) ||
!defined(CONFIG_TLS_ALIGNED)) */
+#endif /* !defined(up_tls_info) */