Skip to content

Commit

Permalink
sranddev() is FreeBSD only
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed May 19, 2020
1 parent b0f8384 commit 3d1cebd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/util/heap_tests.c
Expand Up @@ -48,7 +48,7 @@ static void heap_test(int skip)
static bool done_init = false;

if (!done_init) {
sranddev();
srand((unsigned int)time(NULL));
done_init = true;
}

Expand Down Expand Up @@ -146,7 +146,7 @@ static void heap_cycle(void)
static bool done_init = false;

if (!done_init) {
sranddev();
srand((unsigned int)time(NULL));
done_init = true;
}

Expand Down

0 comments on commit 3d1cebd

Please sign in to comment.