evolve4src/src/evolve_simulator/phascii.cpp
static int dlist_count(DLIST *head)
{
	int i;

	i = 0;
	while( head ) {
		head = head->next;
		i++;
	}

	return i;
}
/**********************************************************************
 * Count the number of elements in the list 'head'.
 *
 */
Count the number of elements in the list 'head'.
Count the number of elements in the list ' head ' .
static int dlist_count(DLIST *head)
{
	int i;
	i = 0;
	while( head ) {
		head = head->next;
		i++;
	}
	return i;
}
static int dlist_count ( DLIST * head ) { int i ; i = 0 ; while ( head ) { head = head -> next ; i ++ ; } return i ; }
Count the number of elements in the list 'head'.
Count the number of elements in the list ' head ' .