#include "random_functs.h"

void random_seed (void)
{
	long timeval;

	#ifdef FUNCTIONS
	puts ("**random_seed");
	#endif

	time (&timeval);

	srandom ((int) timeval);
}

int random_int (void)
{
	#ifdef FUNCTIONS
	puts ("**random_int");
	#endif

	return ((int) random());
}