Page MenuHomeFreeBSD

Don't let the Nethack ports declare srandom() themselves.
ClosedPublic

Authored by ed on Jul 31 2016, 7:08 AM.

Details

Summary

As the prototype of srandom() has changed, be sure to no longer declare
the prototype of this function ourselves. Instead, simply pull in the
<stdlib.h> header that declares this function.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ed retitled this revision from to Don't let the Nethack ports declare srandom() themselves..
ed updated this object.
ed edited the test plan for this revision. (Show Details)
ed added reviewers: antoine, bapt.

glewis@, maintainer of nethack34/nethack36 approved the change. Will commit this change in a bit.

This revision was automatically updated to reflect the committed changes.