# | Line 258 | Line 258 | noderr: | |
---|---|---|
258 | } | |
259 | ||
260 | ||
261 | – | int |
262 | – | dosets(f) /* loop through all sets */ |
263 | – | int (*f)(); |
264 | – | { |
265 | – | int res = 0; |
266 | – | int n; |
267 | – | register OBJECT *os; |
268 | – | |
269 | – | for (n = 0; n < OSTSIZ; n++) { |
270 | – | if ((os = ostable[n]) == NULL) |
271 | – | continue; |
272 | – | while (*os > 0) { |
273 | – | res += (*f)(os); |
274 | – | os += *os + 1; |
275 | – | } |
276 | – | } |
277 | – | return(res); |
278 | – | } |
279 | – | |
280 | – | |
261 | void | |
262 | donesets() /* free ALL SETS in our table */ | |
263 | { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |