From 007aa328fcf973b47fcfd8225ab9077cb3c45145 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Mon, 23 Jan 2023 16:54:36 -0800 Subject: Format. --- list/include/list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'list/include/list.h') diff --git a/list/include/list.h b/list/include/list.h index b00b48b..945de28 100644 --- a/list/include/list.h +++ b/list/include/list.h @@ -17,5 +17,5 @@ typedef struct list { void list_make(list* list, size_t size); /// Iterates over all the items in the list. -#define list_foreach(LIST, iter) \ +#define list_foreach(LIST, iter) \ for (struct list* iter = LIST; iter; iter = iter->next) -- cgit v1.2.3