aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/srandom.c
blob: 7a443acb9e3ae4b11c71106de9cf15c4c2e886d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* $Id: srandom.c,v 1.5 1998/02/26 04:34:14 momjian Exp $ */

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

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

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