mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-27 15:52:28 +00:00
Rename rand64() to _rand64()
This commit is contained in:
parent
c424352a0a
commit
7ae556463a
52 changed files with 141 additions and 139 deletions
|
@ -16,9 +16,9 @@
|
|||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/mem/gc.internal.h"
|
||||
#include "libc/mem/mem.h"
|
||||
#include "libc/stdio/rand.h"
|
||||
#include "libc/mem/gc.internal.h"
|
||||
#include "libc/stdio/stdio.h"
|
||||
#include "libc/str/str.h"
|
||||
#include "libc/testlib/ezbench.h"
|
||||
|
@ -30,7 +30,7 @@ TEST(bzero, test) {
|
|||
a = gc(malloc(128));
|
||||
b = gc(malloc(128));
|
||||
for (n = 0; n < 128; ++n) {
|
||||
rngset(a, 128, rand64, -1);
|
||||
rngset(a, 128, _rand64, -1);
|
||||
memcpy(b, a, 128);
|
||||
bzero(a, n);
|
||||
memset(b, 0, n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue