1
0
Fork 0
forked from nuttx/nuttx-update

include: queue.h: Make flink clear after sq_rem

In the previous design, this member may be cleared or not cleared,
which results in the API's side effects not being a clear property.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
This commit is contained in:
Lingao Meng 2024-04-24 13:23:54 +08:00 committed by GUIDINGLI
parent 1d5f0245ab
commit c2b89540d2

View file

@ -188,6 +188,10 @@
{ \
(q)->tail = NULL; \
} \
else \
{ \
tmp_node->flink = NULL; \
} \
} \
else \
{ \