Use FOR_LIST_ELEMENTS convenience macros

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-03-26 19:32:21 +01:00
parent 42ca71ca47
commit 3f8ae91c09
5 changed files with 8 additions and 8 deletions

View file

@ -28,7 +28,7 @@ grub_functional_test (struct grub_extcmd *cmd __attribute__ ((unused)),
{
grub_test_t test;
for (test = grub_test_list; test; test = test->next)
FOR_LIST_ELEMENTS (test, grub_test_list)
grub_test_run (test);
return GRUB_ERR_NONE;
}