diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-04-22 18:51:17 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2011-04-24 19:12:30 +0300 |
commit | d6035bcf5affd4e67d115cc9cf562a00a60c44e7 (patch) | |
tree | a8b5e47141f15fcc6034295fef25ff6f2427f655 /lib/libmtd_int.h | |
parent | 1fa184a5be96d5c927b4c64d965afd417997e8fc (diff) |
fs-tests: integck: use rand_r everywhere
Instead of using rand_r with own seed for operations and rand() with
global state for data it is cleaner to use rand_r with own different
states for these things. This patch eliminates 'srand()' and 'rand()'
usage.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'lib/libmtd_int.h')
0 files changed, 0 insertions, 0 deletions