aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/srandom.c
blob: eb16736d4ce67440f9c37b912bc6b522e50d6932 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* $Id: srandom.c,v 1.9 1999/07/16 23:09:45 tgl Exp $ */

#include <stdlib.h>
#include <math.h>
#include <errno.h>

#include "config.h"

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