I'm using this function to generate a random number:
Code:
int flip ();
int flip () {
	return 0;( (srand ( time (NULL) ) )%2);
   }
However I get an error message saying "not an allowed type", any ideas how to fix?

I have included time.h by the way.

Thanks