made a lot of changes

This commit is contained in:
eck
1989-12-18 15:14:14 +00:00
parent 2f92b46a9d
commit e00f89ea6f
21 changed files with 958 additions and 218 deletions

View File

@@ -11,7 +11,7 @@ static unsigned long int next = 1;
int rand(void)
{
next = next * 1103515245 + 12345;
return((unsigned int)(next/(2 * (RAND_MAX +1)) % (RAND_MAX+1));
return (unsigned int)(next/(2 * (RAND_MAX +1)) % (RAND_MAX+1));
}
void srand(unsigned int seed)