Use the list_item_next() API

This commit is contained in:
adamdunkels 2010-06-15 19:22:25 +00:00
parent 560c84a2fe
commit 7647cbd8aa
11 changed files with 50 additions and 50 deletions

View file

@ -24,7 +24,7 @@ example_function(void)
for(s = list_head(example_list);
s != NULL;
s = s->next) {
s = list_item_next(s)) {
printf("List element number %d\n", s->number);
}
}