[rng] Add function to shuffle an int array

This commit is contained in:
chme
2016-10-15 10:06:18 +02:00
parent 3921cf5732
commit 2d27636644
2 changed files with 22 additions and 0 deletions

View File

@@ -21,5 +21,8 @@ rng_rand_range(struct rng_ctx *ctx, int32_t min, int32_t max);
void
shuffle_ptr(struct rng_ctx *ctx, void **values, int len);
void
shuffle_int(struct rng_ctx *ctx, int *values, int len);
#endif /* !__RNG_H__ */