Committer: Diego Biurrun <diego@xxxxxxxxxx> Date: 26/04/2010 at 21:13:31 Revision: 4410 Revision-id: diego@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Branch nick: trunk Log: whitespace cosmetics: fix macro indentation Modified: M lib/core/list.h === modified file 'lib/core/list.h' --- lib/core/list.h 2010-04-22 10:12:54 +0000 +++ lib/core/list.h 2010-04-26 18:13:19 +0000 @@ -38,7 +38,7 @@ */ #define list_for_each(pos, head, counter) \ for ((counter = ((struct lhash_st *) (head))->num_nodes - 1); counter >= 0; counter--) \ - for (pos = ((struct lhash_st *) (head))->b[counter]; pos != NULL; pos = pos->next) + for (pos = ((struct lhash_st *) (head))->b[counter]; pos != NULL; pos = pos->next) /** * list_for_each_safe @@ -49,8 +49,8 @@ */ #define list_for_each_safe(pos, iter, head, counter) \ for ((counter = (((struct lhash_st *) (head)))->num_nodes - 1); counter >= 0; counter--) \ - for (pos = (((struct lhash_st *) (head)))->b[counter], (iter = pos ? pos->next : NULL); \ - pos != NULL; pos = iter, (iter = pos ? pos->next : NULL)) + for (pos = (((struct lhash_st *) (head)))->b[counter], (iter = pos ? pos->next : NULL); \ + pos != NULL; pos = iter, (iter = pos ? pos->next : NULL)) /** * list_add - add a new entry