summaryrefslogtreecommitdiff
path: root/src/backend/port/srandom.c
blob: 1a464f21241ef7c1722563920b7c6e437ff41100 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <math.h>               /* for pow() prototype */

#include <errno.h>
#include "rusagestub.h"
#include "port-protos.h"

void
srandom(unsigned int seed)
{
	srand48((long int) seed);
}