mu578 commented on PR #9774:
URL: https://github.com/apache/nuttx/pull/9774#issuecomment-1630917525

   ok I have seen the context masking within for instance pthread still that is 
a `<sys/types>` by any means. I have noticed a lot of breakage regarding the 
relationship between user defined libc APIs and sys/* ; it should be always one 
way descending, not cross-including everywhere, would simplify many things if 
OS layout was respected.
   
   ```
   
   `<nuttx/sys/types.h>` -> forbidden to user world
   `<sys/types.h>`       -> include <nuttx/sys/types.h>
   `<time.h>`            -> include <sys/types.h>
   
   ```
   


-- 
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]

Reply via email to