summaryrefslogtreecommitdiff
path: root/src/librandom/badrandom_int.c
blob: ae12db56ad7c7d4adeff2acd58195f553fe17c75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* ISC license. */

/* MT-unsafe */

#include <skalibs/rrandom.h>
#include "random-internal.h"
#include <skalibs/random.h>

unsigned int badrandom_int (unsigned int n)
{
  return rrandom_readint(&badrandom_here, n, &unirandom_readnb) ;
}