From fe6c374412a5d42d5cd84945d8101c4a398e96d5 Mon Sep 17 00:00:00 2001 From: Cloudwalk Date: Wed, 14 Jul 2021 11:08:26 -0400 Subject: [PATCH] com_list: Fix spacing. No code changes --- com_list.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/com_list.h b/com_list.h index 188f8d54..f023da50 100644 --- a/com_list.h +++ b/com_list.h @@ -100,6 +100,7 @@ typedef struct llist_s #define List_For_Each_Safe(pos, n, head) \ for (pos = (head)->next, n = pos->next; pos != (head); \ pos = n, n = pos->next) + /* * Iterate over a list backwards, safe against removal of list entry */ @@ -107,6 +108,7 @@ typedef struct llist_s for (pos = (head)->prev, n = pos->prev; \ pos != (head); \ pos = n, n = pos->prev) + /* * Test if the entry points to the head of the list */ @@ -173,6 +175,7 @@ typedef struct llist_s n = List_Next_Entry(pos, member); \ !List_Entry_Is_Head(pos, head, member); \ pos = n, n = List_Next_Entry(n, member)) + /* * Continue iteration over a list of a given type, after the current position, safe against removal of list entry */ @@ -190,7 +193,6 @@ typedef struct llist_s !List_Entry_Is_Head(pos, head, member); \ pos = n, n = List_Next_Entry(n, member)) - /* * Iterate over a list of a given type backwards, safe against removal of list entry */ -- 2.39.2