mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-26 18:06:28 -05:00
Removes rand() use from the raid module.
This commit is contained in:
parent
0a68d357e3
commit
95e4ed03bf
5 changed files with 14 additions and 15 deletions
|
|
@ -70,9 +70,9 @@ void *raid_malloc_align(size_t size, void **freeptr);
|
|||
void **raid_malloc_vector(int nd, int n, size_t size, void **freeptr);
|
||||
|
||||
/**
|
||||
* Fills the memory vector with random data.
|
||||
* Fills the memory vector with pseudo-random data based on the specified seed.
|
||||
*/
|
||||
void raid_mrand_vector(int n, size_t size, void **vv);
|
||||
void raid_mrand_vector(unsigned seed, int n, size_t size, void **vv);
|
||||
|
||||
/**
|
||||
* Tests the memory vector for RAM problems.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue