OSDN Git Service

Update a number of broken links in comments.
[pg-rex/syncrep.git] / src / port / random.c
1 /*-------------------------------------------------------------------------
2  *
3  * random.c
4  *        random() wrapper
5  *
6  * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
7  * Portions Copyright (c) 1994, Regents of the University of California
8  *
9  *
10  * IDENTIFICATION
11  *        $PostgreSQL: pgsql/src/port/random.c,v 1.11 2010/01/02 16:58:13 momjian Exp $
12  *
13  *-------------------------------------------------------------------------
14  */
15
16 #include "c.h"
17
18 #include <math.h>
19
20
21 long
22 random()
23 {
24         return lrand48();
25 }