aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/srandom.c
blob: 1bc81bb2cb7afbc4559b43be986aaa9fc9ab30e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* $Id: srandom.c,v 1.4 1998/02/24 03:45:07 scrappy Exp $ */

#include <math.h>               /* for pow() prototype */

#include <errno.h>
#include "rusagestub.h"

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