> besides this first for_each_present_section_nr(), what about writing a static > inline > function that returns next_present_section_nr(-1) ? > > Something like: > > static inline int first_present_section_nr(void) > { > return next_present_section_nr(-1); > }
Good idea, will add it, thank you. Pavel