sys/queue.h: remove CONFIG_ALLOW_MIT_COMPONENTS

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
anjiahao 2023-01-29 18:28:51 +08:00 committed by Xiang Xiao
parent b33474cb11
commit 3cfd8a350b

View File

@ -43,8 +43,6 @@
#include <nuttx/config.h>
#include <stdint.h>
#ifdef CONFIG_ALLOW_BSD_COMPONENTS
/* This file defines five types of data structures: singly-linked lists,
* lists, simple queues, tail queues and XOR simple queues.
*
@ -844,5 +842,4 @@
((FAR struct type *)(FAR void *) \
((FAR char *)((head)->stqh_last) - offsetof(struct type, field))))
#endif /* CONFIG_ALLOW_BSD_COMPONENTS */
#endif /* __INCLUDE_SYS_QUEUE_H */