by thetic · 4y ago · 0 comments
for(int i = 0; i < 10; i++) {
// ...
}
C89 does support declaration of variables at the top of braced blocks whose scope is limited to that block: {
int i;
for(i = 0; i < 10; i++) {
// ...
}
} {
list_for_each_entry(...)
}