postgresql/src/backend/port/srandom.c

14 lines
200 B
C

/* $Id: srandom.c,v 1.9 1999/07/16 23:09:45 tgl Exp $ */
#include <stdlib.h>
#include <math.h>
#include <errno.h>
#include "config.h"
void
srandom(unsigned int seed)
{
srand48((long int) seed);
}