summaryrefslogtreecommitdiff
path: root/src/backend/port/srandom.c
blob: b1034f0279067af1387307879e41436b39d2592d (plain)
1
2
3
4
5
6
7
8
9
10
11
/* $Id: srandom.c,v 1.7 1999/07/15 15:19:34 momjian Exp $ */

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

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