HomeFreeBSD

1) Unifdef USE_WEAK_SEEDING since it is too obsolete to support and makes

Description

  1. Unifdef USE_WEAK_SEEDING since it is too obsolete to support and makes

reading hard.

  1. Instead of doing range transformation in each and every function here,

do it single time directly in do_rand(). One "mod" operation overhead is not
a big deal, but the code looks nicer and possible future functions additions
or PRNG change do not miss range transformations neither have unneeded ones.

  1. Use POSIX argument types for visible functions (cosmetic).

MFC after: 1 week

Details

Provenance
acheAuthored on
Parents
rS300955: Fix style of the libgen.h header.
Branches
Unknown
Tags
Unknown