userspace: Exclude nuttx/arch.h

This patch fixed userspace headers conflict. Architecture-related definition and API should not be exposed to users.

Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
This commit is contained in:
ouyangxiangzhen
2024-10-16 10:49:33 +08:00
committed by Xiang Xiao
parent b271507c9f
commit 17c51c0667
98 changed files with 111 additions and 32 deletions
+1 -1
View File
@@ -389,7 +389,7 @@ struct ucred
****************************************************************************/
static inline FAR struct cmsghdr *__cmsg_nxthdr(FAR void *__ctl,
unsigned int __size,
unsigned long __size,
FAR struct cmsghdr *__cmsg)
{
size_t len = CMSG_ALIGN(__cmsg->cmsg_len);