/* Search an int array for a key value */
static int array_search(int *array, int count, int key)
/* Search an int array for a key value */
static int array_search(int *array, int count, int key)
{
	int i;
	for (i = 0; i < count; i++) {
		if (array[i] == key)
			return i;
	}
	return -1;
}