aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/random.c
blob: cf74fcafab869a9eb0f14e89a59071f632fe022c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* $Id: random.c,v 1.2 1997/12/19 13:34:29 scrappy Exp $ */

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

#include <errno.h>
#include "rusagestub.h"
#include "port-protos.h"

long
random()
{
	return (lrand48());
}