pkarashchenko commented on a change in pull request #4935:
URL: https://github.com/apache/incubator-nuttx/pull/4935#discussion_r762565098
##########
File path: include/nuttx/tls.h
##########
@@ -150,6 +150,7 @@ struct tls_info_s
#endif
int tl_errno; /* Per-thread error number */
+ uint8_t tl_data[0];
Review comment:
I think C89 does not support `uint8_t tl_data[];` for zero length arrays
and `uint8_t tl_data[0];` is a way to keep compatibility.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]