mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
nuttx: fix multiple 'FAR', 'CODE' and style issues
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
5d17e4795a
commit
d499ac9d58
@@ -277,7 +277,7 @@
|
||||
#define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \
|
||||
(cmsg)->cmsg_len <= (unsigned long) \
|
||||
((mhdr)->msg_controllen - \
|
||||
((char *)(cmsg) - (char *)(mhdr)->msg_control)))
|
||||
((FAR char *)(cmsg) - (FAR char *)(mhdr)->msg_control)))
|
||||
#define for_each_cmsghdr(cmsg, msg) \
|
||||
for (cmsg = CMSG_FIRSTHDR(msg); \
|
||||
cmsg; \
|
||||
|
||||
Reference in New Issue
Block a user