mirror of
https://github.com/opnsense/src.git
synced 2026-03-09 01:30:47 -04:00
for rand(3), not random(3). random(3) is defined to return values between 0 and 2^31-1, so add a local RANDOM_MAX constant to this file that is defined as 2^31-1 and use that in place of RAND_MAX. Reviewed by: bde Approved by: re (dwhite) MFC after: 1 week |
||
|---|---|---|
| .. | ||
| Makefile | ||
| random.6 | ||
| random.c | ||
| randomize_fd.c | ||
| randomize_fd.h | ||