We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86a1574 commit 504f9acCopy full SHA for 504f9ac
linked-list/sc_list.h
@@ -175,7 +175,7 @@ void sc_list_del(struct sc_list *l, struct sc_list *elem);
175
* struct sc_list *tmp; // Variable for loop, user should not use this.
176
* struct sc_list *it; // Iterator
177
*
178
- * sc_list_foreach_safe (list, it) {
+ * sc_list_foreach_safe (list, tmp, it) {
179
* container = sc_list_entry(it, struct container, others);
180
* sc_list_del(list, &container->others);
181
* }
0 commit comments