version 1.17 | | version 1.18 |
---|
| | |
/* | | /* |
* static char *rcsid_swap_c = | | * static char *rcsid_swap_c = |
* "$Id: swap.c,v 1.17 2005/12/05 23:34:04 akirschbaum Exp $"; | | * "$Id: swap.c,v 1.18 2006/05/05 09:26:36 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* map_least_timeout() returns the map with the lowest timeout variable (not 0) | | * map_least_timeout() returns the map with the lowest timeout variable (not 0) |
*/ | | */ |
| | |
mapstruct *map_least_timeout(char *except_level) { | | static mapstruct *map_least_timeout(char *except_level) { |
mapstruct *map, *chosen=NULL; | | mapstruct *map, *chosen=NULL; |
int timeout = MAP_MAXTIMEOUT + 1; | | int timeout = MAP_MAXTIMEOUT + 1; |
for(map = first_map;map != NULL; map = map->next) | | for(map = first_map;map != NULL; map = map->next) |