Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/games/larn



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.




Home | Main Index | Thread Index | Old Index