aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libxml/rand.cpp
blob: 459a806e8ec6013d5a74f0508957f032a3562456 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include "rand.h"

#include <cstdlib>
#include <util/random/random.h>
#include <util/system/types.h>

int utilRandom() {
    return (int)RandomNumber((ui32)RAND_MAX);
}