Page MenuHomeFreeBSD

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

Authored by ed on Jul 31 2016, 7:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 20, 2:12 PM
Unknown Object (File)
Sat, Apr 20, 2:12 PM
Unknown Object (File)
Sat, Apr 20, 2:12 PM
Unknown Object (File)
Fri, Apr 19, 9:32 PM
Unknown Object (File)
Fri, Apr 19, 2:42 AM
Unknown Object (File)
Jan 1 2024, 1:09 PM
Unknown Object (File)
Jan 1 2024, 1:09 PM
Unknown Object (File)
Jan 1 2024, 1:09 PM
Subscribers

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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 4672
Build 4726: arc lint + arc unit

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.