]> git.cameronkatri.com Git - bsdgames-darwin.git/commit
A preprocessor macro named "srand" was defined which seeded the random
authorperry <perry@NetBSD.org>
Thu, 3 Feb 2005 02:23:02 +0000 (02:23 +0000)
committerperry <perry@NetBSD.org>
Thu, 3 Feb 2005 02:23:02 +0000 (02:23 +0000)
commit6390e770b812f3df9943b72dff360a36cfd20cba
treefea52994275a802b70e02430eff27c4f5fa12493
parent8c726f9d6c66bda0d4eadf3b4bf8fb3d24c7c7fc
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.
larn/header.h
larn/io.c