mirror of
https://github.com/amadvance/snapraid.git
synced 2026-12-04 22:00:19 -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
|
|
@ -485,7 +485,7 @@ void** malloc_nofail_vector_align(int nd, int n, size_t size, void** freeptr);
|
|||
/**
|
||||
* Fills the memory vector with random data.
|
||||
*/
|
||||
void mrand_vector(int n, size_t size, void** vv);
|
||||
void 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