/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */ #include #include #include void _fwalk(void (*func)(FILE *)) { __file_rec *fr; int i; for (fr=__file_rec_list; fr; fr=fr->next) for (i=0; icount; i++) if (fr->files[i]->_flag) func(fr->files[i]); }