mirror of
https://github.com/postgres/postgres.git
synced 2025-07-21 16:02:15 +03:00
Move libc replacement files from src/backend/port to src/port.
This commit is contained in:
13
src/port/srandom.c
Normal file
13
src/port/srandom.c
Normal file
@ -0,0 +1,13 @@
|
||||
/* $Id: srandom.c,v 1.1 2002/07/18 04:13:59 momjian Exp $ */
|
||||
|
||||
#include "c.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <errno.h>
|
||||
|
||||
void
|
||||
srandom(unsigned int seed)
|
||||
{
|
||||
srand48((long int) seed);
|
||||
}
|
Reference in New Issue
Block a user