X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=src%2Fport%2Fsrandom.c;h=db58f4eaba144f8636d026195a93be37ca4e5a72;hb=9f1255ac859364a86264a67729dbd1a36dd63ff2;hp=d0cef3792bc08d66ff830aa8ee74c1e62a6e8b86;hpb=969685ad443637a24650909357e4e768a88412fc;p=postgresql diff --git a/src/port/srandom.c b/src/port/srandom.c index d0cef3792b..db58f4eaba 100644 --- a/src/port/srandom.c +++ b/src/port/srandom.c @@ -3,24 +3,23 @@ * srandom.c * srandom() wrapper * - * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group + * Portions Copyright (c) 1996-2015, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/port/srandom.c,v 1.3 2003/11/29 19:52:13 pgsql Exp $ + * src/port/srandom.c * *------------------------------------------------------------------------- */ #include "c.h" -#include #include -#include + void srandom(unsigned int seed) { - srand48((long int) seed); + pg_srand48((long int) seed); }