From d11f3b8f6441cbd81a9cfd991bea17f24d44050b Mon Sep 17 00:00:00 2001 From: taiyu Date: Mon, 31 Aug 2015 08:34:14 -0700 Subject: [PATCH] style --- include/list.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/list.h b/include/list.h index 7ba27cb8..6af10231 100644 --- a/include/list.h +++ b/include/list.h @@ -19,8 +19,8 @@ void list_cat(list_t *list, list_t *source); // ITEM will be NULL after empty list #define list_for(ITEM, LIST) \ ITEM = LIST->length ? LIST->items[0] : NULL; \ -for(int list_it = 0, list_len = LIST->length; \ - list_it < list_len; \ - ITEM = LIST->items[++list_it]) + for (int list_it = 0, list_len = LIST->length; \ + list_it < list_len; \ + ITEM = LIST->items[++list_it]) #endif