aboutsummaryrefslogtreecommitdiff
path: root/src/backend/port/random.c
blob: dc74986781a0509ddc8a32c94e84f89f7c3695a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* $Id: random.c,v 1.5 1998/09/01 03:24:30 momjian Exp $ */

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

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

long
random()
{
	return lrand48();
}