mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 14:58:30 +00:00
Rename rand64() to _rand64()
This commit is contained in:
parent
c424352a0a
commit
7ae556463a
52 changed files with 141 additions and 139 deletions
2
third_party/dlmalloc/init.inc
vendored
2
third_party/dlmalloc/init.inc
vendored
|
@ -83,7 +83,7 @@ static int init_mparams(void) {
|
|||
}
|
||||
else
|
||||
#endif /* USE_DEV_RANDOM */
|
||||
magic = (size_t)(rand64() ^ (size_t)0x55555555U);
|
||||
magic = (size_t)(_rand64() ^ (size_t)0x55555555U);
|
||||
magic |= (size_t)8U; /* ensure nonzero */
|
||||
magic &= ~(size_t)7U; /* improve chances of fault for bad values */
|
||||
/* Until memory modes commonly available, use volatile-write */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue