Subject: CVS commit: src/games/larn
To: None <source-changes@NetBSD.org>
From: Perry E. Metzger <perry@netbsd.org>
List: source-changes
Date: 02/03/2005 02:23:02
Module Name:	src
Committed By:	perry
Date:		Thu Feb  3 02:23:02 UTC 2005

Modified Files:
	src/games/larn: header.h io.c

Log Message:
A preprocessor macro named "srand" was defined which seeded the random
number generator.

Unfortunately, it conflicted with a function of the same defined in
stdlib.h. This was masked by the __P hack, which is now being purged.

I've renamed "srand" to "seedrand" to eliminate the conflict.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/games/larn/header.h src/games/larn/io.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.