void walk_boards( void ) { BOARD_DATA *board; extern BOARD_DATA *first_board; for (board = first_board; board; board = board->next) walk_messages(board->first_message); }
void walk_boards( void ) { BOARD_DATA *board; list<BOARD_DATA *>::iterator li; for ( li = board_list.begin(); li != board_list.end(); li++ ) { board = *li; walk_messages( board->first_message ); } }