aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/srandom.c
blob: ed7cf4b7bea88b36ef4574bf2a67a0c0f7d225af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* $Id: srandom.c,v 1.6 1999/02/07 22:07:02 tgl Exp $ */

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

#include "config.h"
#include "rusagestub.h"

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