summaryrefslogtreecommitdiff
path: root/src/port/random.c
blob: 8bb53e8914f119d69d0c46434e903a3b7457c354 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* $Id: random.c,v 1.1 2002/07/18 04:13:59 momjian Exp $ */

#include "c.h"

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

long
random()
{
	return lrand48();
}