aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/random.c
blob: a409803a04bd511bc21577aa7de034526c4ebd6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* $Id: random.c,v 1.3 1998/02/24 03:45:07 scrappy Exp $ */

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

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

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